Error message "0 (non-NA) cases" linear regression

General help and assistance with jamovi. Bug reports can be made at our issues page: https://github.com/jamovi/jamovi/issues . (If you're unsure feel free to discuss it here)
Post Reply
flatliner
Posts: 6
Joined: Sun Feb 26, 2023 2:18 pm

Error message "0 (non-NA) cases" linear regression

Post by flatliner »

Hello,

I have an issue with running a linear regression analysis.

I have a dependent variable (ordinal scale, 1-2) and three independent variables (interval scale, 1-8) and coded and defined missing values as "99".

Whenever I am adding a second covariate to the model I am receiving the error message "0 (non-NA) cases".
When trying to run logistic regression it says "Variable 1 has no levels" (screenshot attached).

Did anyone experience the same issue and know how to solve it?

Many thanks in advance for your help!
Attachments
Bildschirmfoto 2023-07-04 um 14.22.40.png
Bildschirmfoto 2023-07-04 um 14.22.40.png (185.5 KiB) Viewed 1905 times
User avatar
jonathon
Posts: 2627
Joined: Fri Jan 27, 2017 10:04 am

Re: Error message "0 (non-NA) cases" linear regression

Post by jonathon »

this usually means that there are no or few combinations of 'Low info-sharing', 'No policy' and 'Short policy' where there aren't missing values.

jonathon
flatliner
Posts: 6
Joined: Sun Feb 26, 2023 2:18 pm

Re: Error message "0 (non-NA) cases" linear regression

Post by flatliner »

Hello Jonathan,

Thanks for the explanation.
I've identified the error and computed a new variable.
Post Reply