I previously used regression analysis and there is a significant difference. Then I realize my dependent variable is not normally distirbuted, it is very skewed.
So I use proc genmod. Anyother analysises, please give advice.
below is the error message
1523 proc genmod data = have;
1524 model abb= mbb /dist=negbin;
1525 run;
NOTE: Non-integer response values have been detected for the
Negative Binomial distribution.
WARNING: No output destinations active.
NOTE: Algorithm converged.
NOTE: The negative binomial dispersion parameter was estimated
by maximum likelihood.
NOTE: PROCEDURE GENMOD used (Total
"dist=negbin" requests maximum likelihood parameter estimation to explain things that can be counted. Counts are integers. What is abb?
abb is my dependent variable, mbb is my independent variable
@Bal23 wrote:
abb is my dependent variable, mbb is my independent variable
The questions was meant to be what type of values does ABB contain, not its role in your model.
Are they positive integer values? If not then it is not appropriate to assume it should follow a negative binomial distribution.
Advice: Take an Introductory course in Probability. Learn the difference between discrete and continuous distributions.
This comment is unnecessarily rude, PGStats.
You didn't mention which type of regression you initially performed. Many types do not require the data to be normally distributed but that the errors are normally distributed.
it is linear regression
Dive into keynotes, announcements and breakthroughs on demand.
Explore Now →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.
Ready to level-up your skills? Choose your own adventure.