search for: sigmaa

Displaying 2 results from an estimated 2 matches for "sigmaa".

Did you mean: sigma
2003 Nov 20
2
reading data rows
I have problems reading a file with more than one row to carry out mathematical calculations I have a a file of the form mu1 mu2 alpha beta Wsigma sigmaA b r 25 15 .05 .05 22 3 .3 .5 30 20 .1 .2 22 .3 .3 .5 I intend to read one row , carry out the calculations and then the next row with which I intend to do the same calculations. I do the following. p<-read.table(file="eingabe.csv", header=TRUE,sep=";") data.frame(...
2009 Feb 02
0
Using Information from the Stats4 package in base envir
...creating new data frames that are defined by a given cluster label? Thanks again for your help. library(stats4) #Define the Models #Two simple linear models: #Model A: respA = a0 + a1x + e(a), e(a) ~N(0, sigma^2(a)) #Model B: respB = b0 + b1x + e(b), e(b) ~N(0, sigma^2(b)) a0= 0; a1 = 1.5; sigmaA=4; b0=50; b1=-2; sigmaB=4; n=250; min=0; max=50; #Generate Data from the Models x1 = runif(n, min, max); #Explanatory variable eA = rnorm(n, 0, sigmaA); eB = rnorm(n, 0, sigmaB); respA = a0 +a1*x1 + eA; respB = b0 +b1*x1 + eB; #Responses #K-Means Clustering resp1 = c(respA, respB);#Put re...