format

  1. BeeStatsGuy

    Copy R/Rstudio console with original colour formatting

    Copy R/Rstudio console for Mac with original colour formatting Hi Everyone, Just a newbie computer-savvy problem - not related to R coding or stats: How do I copy from the console (either R or RStudio console) with the original colour formatting? Its a dinky little problem but my hunt...
  2. L

    Add leading number "1" in each row of a variable on year in Stata

    Hi guys! I would like to know how to add the number one "1" in each row of a numeric variable on year of birth. Explaining it better: my data set came with the variable "year of birth" with only the last three numbers, for instance "996", "987", "976", the one "1" is missing in all rows. I...
  3. S

    Any way to read in a SAS dataset WITH an external format/catalog library?

    Hi, I posted this to the SAS forum as well. I have a large SAS dataset (v9.3) that carries a SAS format catalog/library (as a separate file). Is there any way to import the dataset with the formats (which is the SAS term for value labels here)? I am using Stata (v11/MP). The data moves...
  4. K

    SAS date formats

    I'm new here and while I've read a bunch on this nothing I do helps. I know this is a newbie question but I am thankful for the help! Basically I want SAS (9.3) to read the date format I have here and output a date. I currently get the "SAS date value". DATA Chap3.myfirstdata; INPUT name...
  5. H

    Long format for OLS?

    Hello everyone, I am currently working on a project for which I use a panel analysis and ordinary least squares analysis. For the panel analysis I transformed the data set into a long format. afterwards I tested a hypothesis using OLS and kept the long format. Now I am thinking, is this...
  6. P

    Can a Mixed Model MANOVA Be Run from Long Form Dataset?

    Hello, I'm hoping to run a mixed model MANOVA with 1 BSF (2 levels) and 1 WSF (3 time points). Right now, the whole database is set up in long format. Is it possible to run this analysis when the data is in long format? Or is it necessary that I convert it all to wide format? Thank you for...
  7. D

    Visualising survey responses

    Hi there, We have got back the results of a survey and I was hoping someone could help with R code to visualise the results. There were about 20 questions in total with likert scales. We'd like to view the responses by age groups and gender. I think a mosaic plot might be the best but I can't...