Hi all,
I have a continuous dependent variable varying between 0 and 1. There are lots of zeros, too:
Array
When I run a regular OLS, I receive negative fitted values. So I decided to run a GLM to make sure the fitted values are in the right place. I've read lots of things about the selection of family and link selection but I still don't understand the mechanism behind it. Residuals from the OLS are normally distributed. Can I use Gaussian family and log link? This combination gives me all positive predicted values.
Many thanks.
Related Posts with Family and link selection in GLM
total dose per day with multiple dates and times Code: * Example generated by -dataex-. To install: ssc install dataex clear input int(date_daily_3…
Using mata to create matrixI'd like to create a matrix shown in the figure. It's a NC*(N+C) matrix. All N block matrixes on the…
Negative lower confidence interval boundary for variance with nlcom after a multilevel logistic regressionHello, I am conducting a multilevel logistic regression to identify determinants of the availabilit…
How to graph difference in means between model 1 and model 2Hi Statalist, I will appreciate help with this problem. First, here is my data: Code: * Example g…
Long Data Format: Creating a New Variable with Values Conditional on Combination of Values of Other Variables Across Many ObservationsHello! I am stuck not knowing how to create a variable I need based on my current data. I have a l…
Subscribe to:
Post Comments (Atom)
0 Response to Family and link selection in GLM
Post a Comment