cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
Luggilas
Level I

How should the formula for this regression look?

I am currently writing my bachelor thesis and am not that experienced in JMP or regression in general. I was wondering how the formula for the attached regression would look? I know you can make a predection expression but I need to set it up in more general terms.

Like: beta0+beta1*X1+beta2*X2

 

I hope it makes sense and that someone can help.

2 REPLIES 2
Ressel
Level VI

Re: How should the formula for this regression look?

Intuitively, I think you need to look into dummy variables: https://en.wikipedia.org/wiki/Dummy_variable_(statistics)

 

In the journal you shared, there is a nice big window showing the prediction expression. You have two questions with 3-4 possible responses (from multiple choice?). Possibly, each response can be represented with its own dummy variable. How to write that in general terms is perhaps only another Google search away.

 

Good luck with your thesis!

MRB3855
Super User

Re: How should the formula for this regression look?

Hi @Luggilas ; As @Ressel said, you will need to define several indicator ("dummy") variables; based on your Prediction Expression in your output, something like below:

5.8708 + 1.703*I11 -0.946*I12 -0.757*I13 -0.358*I21 +3.591*I22 + 1.611*I23 -4.844*I24

Where I11 = 1 if Questions 1 (Hvor ofte…) = Dag, 0 otherwise.

I12 = 1 if Question 1 (Hvor ofte…) =Mindre, 0 otherwise.

Etc.