BookmarkSubscribeRSS Feed
mpiotro2
Calcite | Level 5

I'm having an issuing adding a "lackfit" statement to a proc regression model... I keep getting a "0" answer for my Pure Error Sum of Squares value, which I don't think is correct. If my data set has 3 X variables, is the lackfit statement still functional? 

 

HW4 - ANOVA Table.PNG

HW4 - Parameter Estimates.PNG

ObsCITYYX1X2X3
1111.258716.56.2
2213.464320.56.4
3340.763526.39.3
445.369216.55.3
5524.8124819.27.3
6612.764316.55.9
7720.9196420.26.4
8835.7153121.37.6
998.771317.24.9
10109.674914.36.4
111114.5789518.16
121226.976223.17.4
131315.7279319.15.8
141436.274124.78.6
151518.162518.66.5
161628.985424.98.3
171714.971617.96.7
181825.892122.48.6
191921.759520.28.4
202025.7335316.96.7
1 REPLY 1
PaigeMiller
Diamond | Level 26

Lack-of-fit/pure error can only be computed if you have one or more exact replicates of your points (among the x-variables). You have zero exact replicates of your data points.


So SAS is giving the correct output.

--
Paige Miller

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 636 views
  • 1 like
  • 2 in conversation