I have that on line 14, do I need to do it again?
Obs Campus Hours Score123456789101112131415161718192021222324252627282930
| A | 0.5 | 42.5 |
| A | 1.0 | 68.5 |
| A | 1.5 | 89.0 |
| A | 2.0 | 105.3 |
| A | 2.5 | 112.3 |
| A | 3.0 | 130.2 |
| A | 3.5 | 159.5 |
| A | 4.0 | 161.3 |
| A | 4.5 | 184.9 |
| A | 5.0 | 191.2 |
| A | 5.5 | 200.7 |
| A | 6.0 | 210.3 |
| A | 6.5 | 210.5 |
| A | 7.0 | 228.4 |
| A | 8.0 | 252.0 |
| B | 0.5 | 50.6 |
| B | 1.0 | 80.7 |
| B | 1.5 | 99.6 |
| B | 2.0 | 111.8 |
| B | 2.5 | 125.7 |
| B | 3.0 | 131.5 |
| B | 3.5 | 151.2 |
| B | 4.0 | 160.5 |
| B | 4.5 | 182.2 |
| B | 5.0 | 189.9 |
| B | 5.5 | 201.7 |
| B | 6.0 | 203.8 |
| B | 6.5 | 209.4 |
| B | 7.0 | 230.1 |
| B | 8.0 | 224.0 |
Here is an important fact about PROC REG: It is an example of an interactive procedure. It does not exit until you submit the QUIT statement. When the procedure quits, it will create the ODS tables. So try adding a
QUIT;
statement after the RUN; statement and see whether the errors for the ODS tables are resolved.
I added quit but it is still giving me the warning signs
Hi! I am somewhat new to using RStudio and I am having issues with running an ANOVA on my data set. I am comparing speeds of 3 populations, Red, Black, and Hybrid. I have 20 individuals for both the Black and Hybrid populations and 28 for the Red population. When I run the test with the Black and Hybrid everything is fine. However, when I run the Red population compared to either of the others I get an error for "variable lengths differs". I can compare the speed for all 3 populations together and get values so I am not sure what's going on. The code I use and the error I get are on the bottom.
summary(aov(formula = handle.Hybridonly$Speed ~ handle.Redonly$Speed))
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'object' in selecting a method for function 'summary': variable lengths differ (found for 'handle.Redonly$Speed')
I would be thankfull for any help!
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
Get started using SAS Studio to write, run and debug your SAS programs.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.