Hey In my data set i have two variables: month (march or april) and wind direction (N,NE,E,SE,S,SW,W,NW). I have to know if there is a difference in wind direction between these months. What kind of test statistic should i use? Kind regards Dries David -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: achtergrondlawaai.txt URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20141203/39ddb6e7/attachment.txt>
This question is more about statistics than R. I suggest that you post it to Cross Validated instead, http://stats.stackexchange.com/. Jean On Wed, Dec 3, 2014 at 5:40 AM, Dries David <dries-david at hotmail.com> wrote:> Hey > > In my data set i have two variables: month (march or april) and wind > direction (N,NE,E,SE,S,SW,W,NW). I have to know if there is a difference in > wind direction between these months. What kind of test statistic should i > use? > > Kind regards > > Dries David > > ______________________________________________ > 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. > >[[alternative HTML version deleted]]
I'd also suggest plotting a wind rose for each month (try openair) to understand the statistical test results. Clint Bowman INTERNET: clint at ecy.wa.gov Air Quality Modeler INTERNET: clint at math.utah.edu Department of Ecology VOICE: (360) 407-6815 PO Box 47600 FAX: (360) 407-7534 Olympia, WA 98504-7600 USPS: PO Box 47600, Olympia, WA 98504-7600 Parcels: 300 Desmond Drive, Lacey, WA 98503-1274 On Wed, 3 Dec 2014, Adams, Jean wrote:> This question is more about statistics than R. I suggest that you post it > to Cross Validated instead, http://stats.stackexchange.com/. > > Jean > > On Wed, Dec 3, 2014 at 5:40 AM, Dries David <dries-david at hotmail.com> wrote: > >> Hey >> >> In my data set i have two variables: month (march or april) and wind >> direction (N,NE,E,SE,S,SW,W,NW). I have to know if there is a difference in >> wind direction between these months. What kind of test statistic should i >> use? >> >> Kind regards >> >> Dries David >> >> ______________________________________________ >> 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. >> >> > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. >
You should at least look at the facilities in the 'circular' package. Also the Envirometrics Task View: http://cran.r-project.org/web/views/Environmetrics.html which mention another package that up until today I had not heard of: http://cran.r-project.org/web/packages/CircStats/index.html -- David. On Dec 3, 2014, at 3:40 AM, Dries David wrote:> Hey > > In my data set i have two variables: month (march or april) and wind direction (N,NE,E,SE,S,SW,W,NW). I have to know if there is a difference in wind direction between these months. What kind of test statistic should i use? > > Kind regards > > Dries David > <achtergrondlawaai.txt>______________________________________________ > 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.David Winsemius Alameda, CA, USA