search for: criticalvalue

Displaying 5 results from an estimated 5 matches for "criticalvalue".

2009 Jun 03
1
Would like to add this to example for plotmath. Can you help?
...uot;(", frac(x-mu,sigma),")")^2}) # Draw the Normal formula text ( mu + 0.5*sigma, max(myDensity)- 0.10 * max(myDensity), normalFormula, pos=4) ### Theory says we should have 2.5% of the area to the left of: -1.96 * sigma. ### Find the X coordinate of that "critical value" criticalValue <- mu -1.96 * sigma ### Then grab all myx values that are "to the left" of that critical value. specialX <- myx[myx <= criticalValue] ### mark the critical value in the graph text ( criticalValue, 0 , label= paste(round(criticalValue,2)), pos=1) ### Take sequence parallel to va...
2010 Mar 09
3
Shade area under curve
I want to shade the area under the curve of the standard normal density. Specifically color to the left of -2 and on. How might i go about doing this? Thanks -- View this message in context: http://n4.nabble.com/Shade-area-under-curve-tp1586439p1586439.html Sent from the R help mailing list archive at Nabble.com.
2009 Jul 10
2
IF STATEMENTS
...Thank you. Sincerely, Mary A. Marion #Find critical values crit<-function(n,alpha,type) { if (type==twoSided) { alpha2=alpha/2 tL<-qt(alpha2,n-1) tU<-qt(1-alpha2,n-1) } if (type==Lower) { tL<- -9999 tU<-qt(1-alpha,n-1) } if (type==Upper) { tL<-qt(alpha,n-1) tU<- 9999 } criticalValues<-c(tL,tU) round(criticalValues,3) } crit(n=50,alpha=.05,type=twoSided) Error in crit(n = 50, alpha = 0.05, type = twoSided) : object 'twoSided' not found > crit(n=50,alpha=.05,type=Lower) crit(n=50,alpha=.05,type=Upper)
2008 Dec 31
3
Plotmath with values?
I hope to use the plotmath facility to print titles that mix math and values of R variables. The help for "plotmath" has an example, which after repeated reading, I find baffling. Likewise, I have read the help file for "substitute" (wqhich seems to be needed) without ever understanding what it does, other than being used in some magic incantations. I would like to do
2012 Aug 12
0
Index Values in NbClust
...quot;index.Beale", "index.Ratkowsky", "index.Ball", "index.ptbiserial", "index.Frey", "index.McClain", "index.Dunn", "index.Hubert", "index.SDindex", "index.Dindex", "index.SDbw"))), All.CriticalValues = structure(c(2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0.914000830612667, 0.937766785534327, 0.905827446964113, 0.828408045832635, 0.909123414786052, 0.876165895064211, 0.812066111397506, 0.925650813821241, 0.620117668912417, 0.871182750461693, 0.563941389391564, 0.872493486752618, 0.903529...