Hi Dominik Welcome to R-help Please have a look at http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and/or http://adv-r.had.co.nz/Reproducibility.html for some suggestions on how to ask questions here.
In particular we probably need to know what packages have the biseral.cor() & cor.biseral() functions and some sample data. Read the part about dput() carefully. This is the best way to provide sample data to R-help. BTW try a str(mydata) and check to see that you have the factor levels you think you do. John Kane Kingston ON Canada > -----Original Message----- > From: d.mai...@windowslive.com > Sent: Sat, 16 Apr 2016 11:39:47 +0200 > To: r-help@r-project.org > Subject: [R] Problem: No p-value for a point-baserial correlation with R > > Dear community > > I'm pretty new to R and I'm trying to do a Point-baserial correlation for > a nominal dichotomous variable with a interval scaled variable. It works > fine, but the output just shows me the correlation and nothing else > (p-Value would be important). > > I tried it with the following codes: > > - biseral.cor() > - cor.biseral() > - I also tried a polyserial() I've found on this question page: > http://stackoverflow.com/questions/35880910/point-biserial-and-p-value > Problem: It's not working (telling me y has fewer than 2 levels) and it > would also be for a ordinal dichotomous variable, but I only have a > nominal dichotomous variable. > > In the forum if found following Syntax that I've tried out: > https://stat.ethz.ch/pipermail/r-help/2003-April/031852.html > It seams to work because I don't get any error messages but I'm not > getting an output either. > > I'm really thankful for every help I could get on this topic or tips > where I can find out and learn how to find a correlation with a p-value > in R for a nominal dichotomous and an interval scaled variable. > Thanks in advance and have a nice weekend! > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@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. ____________________________________________________________ FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop! ______________________________________________ R-help@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.