Explain the difference between "long" and "wide" format data. Why would you use one or the other?

Explain the difference between "long" and "wide" format data. Why would you use one or the other?



-Long: one column containing the values and another column listing the context of the value Fam_id year fam_inc

-Wide: each different variable in a separate column
Fam_id fam_inc96 fam_inc97 fam_inc98

Long Vs Wide:
- Data manipulations are much easier when data is in the wide format: summarize, filter
- Program requirements

Popular posts from this blog

After analyzing the model, your manager has informed that your regression model is suffering from multicollinearity. How would you check if he's true? Without losing any information, can you still build a better model?

Is rotation necessary in PCA? If yes, Why? What will happen if you don't rotate the components?

What does Latency mean?