1. Cameron

    Cochran-Armitage Trend Test (2×2) in SAS

    Hi everybody, How can I perform a Cochran-Armitage Trend Test (2×2) in SAS? Especially I’m looking for a tutorial video. I will be grateful for any recommendation. Thank you for your time. Cameron,
  2. C

    using glimmix for multi-level modeling

    I have a question about how to conduct multi-level analysis in glimmix. I have administered a peer nomination survey to a group of elementary students. The students were asked to indicate if their fellow classmates matched a series of descriptions (let's just label them, X, Y, and Z)...
  3. S

    Forecasting times eries with different daily length

    Hey everybody! I’ve been tasked by my company to forecast the amount of phone calls on an hourly basis during the company’s opening hours. That all went pretty well - until I realized, that my company’s opening hours for phone calls is 9am to 3pm (6 hours total) on Mondays and 9am to...
  4. R

    Cox Regression with missing values

    Very grateful for any advice. I'm trying to perform Cox regression on a data set with multiple random missing values. SPSS is my go-to software, but the Cox regression algorithm applies LISTWISE deletion to all cases with missing values, resulting in omission of >30% of the cases. I'd rather...
  5. E

    PLS regression in SAS, what does corr1 and corr2 refers to?

    Hi all, I am attempting to interpret the results from a PLS-regression done in SAS, and after the analysis SAS produces a table containing two columns labelled as corr1 and corr2. Does anyone know what corr1 and corr2 in the output-table refers to?
  6. C

    Adjusting for covariates in correlation test

    Hi, I wonder if it is possible to adjust for covariates when we use PROC CORR (correlation test) in SAS. Thanks!
  7. F

    Help with RPSFT model implementation in SAS

    Hi! I am doing an analysis on overall survival endpoint. The patients in the placebo group will be switched to treatment group in the open-label phase on voluntary base. I plan to use Rank-preserving structural failure time method (RPSFT) model. Is anyone familiar with this method and know how...
  8. K

    How to control variables in logistic regression.

    Hello! I have a DV with two outcomes. Several IVs (categorical and continuous). I want to predict the DV using the IVs, but I also have control variables (categorical and continuous) that I need to put in the equation first. I found this code: PROC LOGISTIC < options >; BY variables ...
  9. S

    split-split plot with continuous subplot variable

    Hello I am trying to analyze data from a split-split-plot design. The sub-plot is a continuous factor and since we suspect a non-linear relationship, the quadratic form needs to be tested as well. Factors: a-main plot-5 levels b-subplot-continuous c-sub-subplot-2 levels. To test the quadratic...
  10. S

    A statistic question.

    Provider Charge(Total) Fraud %Fraud Fraud*%Fraud A §§§§§§§1000§§§§§§§600§§§§§0.6§§§§§§360 B §§§§§§§100§§§§§§§§70§§§§§§0.7§§§§§§49 C §§§§§§§10§§§§§§§§§8§§§§§§§0.8§§§§§§6.4 D §§§§§§§1§§§§§§§§§§1§§§§§§§1.0§§§§§§1 Please ignore "§" above. Which provider should be given alert? I am...
  11. A

    Proc Mixed effect interpretation

    Hello, I am analyzing an experiment in which we tested the effect of different treatments on trauma. So, for example, blood pressure (and other parameters) is followed in animals exposed to trauma and treated in different ways. I am using the Proc mixed procedure to analyze my data with...
  12. L

    Finite mixture bivariate probit model

    Hello, all, I would like to model my data using a bivariate probit model but would like to explain unobserved heterogeneity of the coefficients in the model using finite mixture. That is, I would like to explain the characteristics of the segments (sub groups) when I estimate my bivariate...
  13. R

    Issue defining ordinal variables in SAS

    Hello All, I am developing a Logistic Regression model in SAS and I have one of the independent variables as Age. I do not have exact age but I have the age buckets. Say 26 Years-30 years as bucket 1, 31 years to 35 years as bucket 2, 36 years to 40 years as bucket 3, and so on. If I include...
  14. K

    Creating Graphs from Survival Analysis Outcome

    If I run a survival analysis, how can I graph the output/outcome? I.e. if I run age group and incidence of a certain disease ('cancer'), and get a rate ratio for each age group, how can I put the RR on a graph with agregroup on the vertical and disease rate on the horizontal? I am...
  15. E


    Sorry for the wall of text, but I'm trying to figure out how to proceed and feel as though I need to clue you in as best I can. Experimental Design: Whole plot: Tree species (Spp) Subplot: Location relative to canopy boundary (In/Out) Tests: 2-way ANOVA on data collected for several...
  16. K

    changing the reference variable value in class statement

    Hi, I am trying to run an analysis with the variable "histgr" (for histology group) and the values for histgr are 1, 2, 3, 4 and 5. How can I change the reference variable value from 5 (the last value and default reference) to 3 (my desired reference variable value)? Here is the code I have...
  17. J

    How to do a post hoc analysis on non-parametric data in SAS

    Good morning! I know there is a statistically significant difference between groups for my non-parametric data-set but I'm not sure how to find where those differences lie between groups.. I'm comparing race/ethnicity (Asian Pacific Islander, Hispanic, etc) by academic discipline (dental...
  18. K


    So my professor decided to write his own textbook, and we are finding errors everywhere, and it's difficult to understand, so I've tried google-ing and everywhere I go people are using different methods than the one he wants me to use here is an expample of what I am working with: 9. A...
  19. K

    time series with bivariate data?

    I have a datetime (yearly) variable which indicates when/if a subject registered, a count of the 400,000 subjects who registered at each facility and those subjects identified as being asked a particular question upon registration, a dichotomous yes/no. The requester asked that their time to...
  20. K

    how to use characters when calling values for a variable?

    Hi, I have a database with a variable "stage" with the following values: 1, 2, 1A, 1B, 2A, 2B. I am trying to trim my data by finding all the people where the variable "stage" = 1B and delete them from the dataset. I tried using this code: data = allpeople_no1B; set...