All Questions
Tagged with sas categorical-data
20
questions
0
votes
0
answers
68
views
How to weight my data in SAS - categorical and numerical variables
I've collected data from 1000 animals (categorical and numerical variables) from 2 different farms. My problems are: one farm corresponds to 68% of my data, in some of my variables I've observed more ...
2
votes
2
answers
1k
views
Interaction term with categorical predictors with more than one level
I am looking at the interaction between education (LTHS, HS, SOME COLLEGE, COLLEGE) and race (WHITE, BLACK, HISPANIC, ASIAN, NATIVE AMERICAN). I am using SAS and am including a class statement in my ...
0
votes
3
answers
266
views
How to apply Two-Factor ANOVA in SAS when I only know the counts of each outcome?
I am confused about how to apply two-factor ANOVA when I get actually no real data, but only count for each outcome, because the dependent variable is categorical, and is binary (only 0 and 1), and I ...
1
vote
1
answer
440
views
How to analyze binary categorical vs ordinal data?
Context: I have a dataset in which I am analyzing whether a patient having 1 disease (binary) influences the number of other diseases the patient has (ordinal; range = 0-7), which is the outcome ...
1
vote
0
answers
589
views
Interpretation of results of logistic regression (Analysis of effects vs Maximum Likelihood Estimates)
I have ran a logistic regression on my data in SAS.
I get in the results a "Type 3 Analysis of Effects" which gives me a probability for my variables including a categorical variable. The probability ...
1
vote
1
answer
457
views
Using contrasts in Poisson regression
The question is about using contrasts in regression analysis (here, Poisson regression with robust error variance).
We have divided the participants in our sample into 6 groups, according to their ...
1
vote
0
answers
1k
views
marginal effect of dummy variable in tobit model
I have a tobit regression model in hand and I want to calculate the marginal effects at means for the dummy variables in the reg equation. There are two dummy variables in the regression equation and ...
0
votes
1
answer
804
views
Proportionality assumption test (SAS) for categorical predictors
For Cox regression with all categorical predictors, I want to model time-dependent covariates (time*cov in Proc PHREG) to ...
0
votes
1
answer
190
views
identify nature of missingness for categorical variables
could you please give me some hints for identifying the nature of missingness for categorical variables' missing value? I mean, I gave a fast search on google scholar but I didn't find anything ...
0
votes
0
answers
3k
views
variable error on logistic regression/ proc catmod- Building predictive model
I am using logistic regression to fit a model with categorical/multinomial varaibles.
data-description: There are over 300 variables as independent variables, sample size is 5000 which is divided into ...
3
votes
2
answers
10k
views
Is it possible for Cramer's V to be negative?
To my understanding, Cramer's V cannot be negative because of the way we define it. But here's what I got from SAS:
2
votes
1
answer
2k
views
Why does SAS Enterprise Miner keep all dummy variables for a coded categorical variable in stepwise logistic regression?
SAS Enterprise Miner nicely creates coded dummy variables for any categorical variables used in a logistic regression model. When it performs a variable selection using stepwise sequential selection ...
2
votes
1
answer
136
views
Which test to use to measure if target has been met?
The photo below is an example of the result i would like to obtain using the test which i cannot find in the article itself, i was hoping maybe any of you would know. I have tried to carry out chi ...
4
votes
1
answer
167
views
Finding parts of categorical variables that "go together"
Good morning all,
I'm working on a project related to the occupations that university graduates are likely to go into. I have a large data set (N in the hundreds of thousands) where the unit of ...
2
votes
3
answers
7k
views
Naive Bayesian Algorithm in R/SAS for categorical input variables?
Could anyone please let me know how to implement Naive Bayesian Algorithm in R or SAS?I have got a training dataset with all the categorical predictors and target variable(3 levels).I got to build a ...