Hi all, first of all, I would like to wish you happy holidays.
I have a question about comparing two groups with each other. Just to outline the situation: I have two variables 'version' and 'risk tolerance'. The variable version can take two values, 0 or 1. The variable risktolerance can take 4 values (0 1 2 or 3).
These variables come from a questionnaire where there was a default option for risk tolerance, namely value '2'.
Now I would like to test whether this value '2' is indicated more in case the variable 'version' equals 0.
If I use the 'tabulate risk tolerance' function, I nicely get all the absolute frequencies of this variable. However, it is something like this that I want to obtain, but split for version 0 and version 1.
It seems simple and obvious, but I just can't find it... can someone help me out?
Huge thanks in advance!
Related Posts with Comparing two groups of variables with each others
separate regression of different groups in the panel dataHi everyone! I seem to stuck in the problem of doing regression of different groups within the panel…
Inconsistency between correlation analysis and regression resultsHi Statalist, I have the panel data (state-year) and run a correlations analysis between my y and x…
Count dependent variable with many zero valuesHi My dependent variable is the number of policies that a company has adopted in the given year. It…
svy: reg get standardized coefficients for both continuous and categorical predictorsHi Statalist, I came across an issue for getting standardized coefficients for svy: reg, when there…
Adding mean and sd to estpost / esttabHello everyone I want to add two extra columns for mean and standard deviation to my correlation ma…
Subscribe to:
Post Comments (Atom)
0 Response to Comparing two groups of variables with each others
Post a Comment