proc import datafile="F:\publish\data analysis using R\data\cars.csv" out=cars dbms=csv replace;
run;
proc mixed data=cars;
model dist = speed / s;
run;
proc mixed data=cars method=ml;
model dist = speed / s;
run;
proc genmod data=cars;
model dist = speed;
run;
proc glimmix data=cars;
model dist = speed / s;
run;
proc nlmixed data=cars;
parms alpha=10 beta=10 s2e=100;
model dist ~ normal(alpha+beta*speed, s2e);
run;
Monday, December 7, 2009
y = a + b*x + error
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment