Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I am trying to get the summary of my logistic regression output to see the P-value of the desicion variable. I was thinking that if i can get this in Power BI, then I can use filters to see the values for different perspectives.
However, when I run the code : output <- glm(Var ~. ....), it throws an error.
My dataset looks s follows:
ID Q1 Q2 Q3 Q4 ... ( 8 QUESTIONS) Status
1 1 1 0 0 1
2 1 0 1 0 1
3 0 0 1 1 1
Q1 -8 are question Id's and 1 means Employee answered agree, 0 means disagree. Status 1 means Active, 0 means not active.
Status is my dependent varaible and Q1-8 are my independent variables. The following is what I get:
I have R installed on my machine.
Any help? Thanks!
Hi @Anonymous,
It looks like there existing some syntax error in R script. Please run your R code in R studio to test if it can generate expected visual.
Regards,
Yuliana Gu
| User | Count |
|---|---|
| 52 | |
| 35 | |
| 22 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 58 | |
| 39 | |
| 21 | |
| 21 |