i want to calculate cronbachs alpha for my df. my df has some missing values so that there are only 23 out of 56 complete cases. if i run alpha on only the complete cases, i get a value of .79 and if i run it on the whole df, I get .82. My question is: what does alpha do with those missing values, if i include the incomplete cases? are they imputed in some way? -- View this message in context: http://r.789695.n4.nabble.com/cronbachs-alpha-and-missing-values-tp4709885.html Sent from the R help mailing list archive at Nabble.com.
Sorry, ESP not functioning. Reproducible example missing. There is always more than one way to do things in R, so you need to be specific. Protip: learn to use the help system. For example, of the function you are using is called alpha, then type ?alpha at the R prompt and read. If the function is in a contributed package then you should load that package first. Documentation quality may vary due to volunteer dedication, but it often answers questions like this. --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity. On July 15, 2015 1:50:46 AM PDT, penv254 <penv254 at uni-hamburg.de> wrote:>i want to calculate cronbachs alpha for my df. my df has some missing >values >so that there are only 23 out of 56 complete cases. if i run alpha on >only >the complete cases, i get a value of .79 and if i run it on the whole >df, I >get .82. My question is: what does alpha do with those missing values, >if i >include the incomplete cases? are they imputed in some way? > > > >-- >View this message in context: >http://r.789695.n4.nabble.com/cronbachs-alpha-and-missing-values-tp4709885.html >Sent from the R help mailing list archive at Nabble.com. > >______________________________________________ >R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide >http://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reproducible code.
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and http://adv-r.had.co.nz/Reproducibility.html Currently we don't even know what version of Cronbach's alpha you are using. Also use google as well as help() Try R statistics Cronbach's alpha John Kane Kingston ON Canada> -----Original Message----- > From: penv254 at uni-hamburg.de > Sent: Wed, 15 Jul 2015 01:50:46 -0700 (PDT) > To: r-help at r-project.org > Subject: [R] cronbachs alpha and missing values > > i want to calculate cronbachs alpha for my df. my df has some missing > values > so that there are only 23 out of 56 complete cases. if i run alpha on > only > the complete cases, i get a value of .79 and if i run it on the whole df, > I > get .82. My question is: what does alpha do with those missing values, if > i > include the incomplete cases? are they imputed in some way? > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/cronbachs-alpha-and-missing-values-tp4709885.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.____________________________________________________________ Can't remember your password? Do you need a strong and secure password? Use Password manager! It stores your passwords & protects your account.