Description Usage Arguments Value Author(s) References See Also Examples
View source: R/PartitioningSgps.R
' Function separates subgroups into common and special cause periods.
1 | PartitioningSgps(Data, ChartType = c("Xbar", "R", "S"))
|
Data |
subgroup summary (object type "SgpSummary") |
ChartType |
Chart type for partitioning rule: if "Xbar"- Shewhart X-bar chart (mean), "R"- Shewhart control chart for range, "S"- Shewhart S chart |
Subgroups in common and special caused periods
Nadeeka Premarathna
Nadeeka Premarathna, A. Jonathan R. Godfrey and K. Govindaraju. "Decomposition of stock market trade-offs using Shewhart methodology." International Journal of Quality & Reliability Management 33, no. 9 (2016): 1311-1331.
1 2 3 4 5 6 7 | SubgroupCriteria="weeks"
data(AAPL)
require(zoo)
StockPrice=window(AAPL[,"Close"],start=as.Date("2012-01-02"),end=as.Date("2013-12-31"))
Subgroups=Subgrouping(StockPrice,SubgroupCriteria,CountSgps=1)
DataSum=SubgroupSummary(Subgroups,MaxSgpSize=5)
B=PartitioningSgps(DataSum,ChartType="S")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.