Turn on thread page Beta
    • Thread Starter
    Offline

    4
    ReputationRep:
    Hi there,

    I am not gifted and maths and therefore I am really struggling to pick an appropriate statistical test for my graph.

    I graphed a barplot using R, with two variables. So on the y axis is the infiltration rate and on the x axis is the burn treatment applied to the ground and it is either grazed or ungrazed so there are two bars for each burn treatment.

    I want to complete two tests
    1) firstly whether there is a relationship between the burn treatments
    2) to see whether there is a relationship between the burning and grazing on the infiltration rate.


    I know I also need to have a p value. I am just unsure how to go about this. I also plan to do the statistical analysis using R, however I have access to minitab also.


    Please please please help!!!

    Thanks.
    Offline

    16
    ReputationRep:
    (Original post by winniethorn)
    Hi there,

    I am not gifted and maths and therefore I am really struggling to pick an appropriate statistical test for my graph.

    I graphed a barplot using R, with two variables. So on the y axis is the infiltration rate and on the x axis is the burn treatment applied to the ground and it is either grazed or ungrazed so there are two bars for each burn treatment.

    I want to complete two tests
    1) firstly whether there is a relationship between the burn treatments
    2) to see whether there is a relationship between the burning and grazing on the infiltration rate.


    I know I also need to have a p value. I am just unsure how to go about this. I also plan to do the statistical analysis using R, however I have access to minitab also.


    Please please please help!!!

    Thanks.
    I think u should use the spearman's rho test!
    Offline

    14
    ReputationRep:
    (Original post by winniethorn)
    I am not gifted and maths and therefore I am really struggling to pick an appropriate statistical test for my graph.
    I'll try to help - but we'll need to go through a few clarifications, as it's not completely clear what you need here. First point is that one does not apply a statistical test to a graph! Particular plots may help us to understand the structure of our data - but the first things we need to know are: what is the scientific question at hand? What is the data that you have available to address that question? So tell me - what experiment is being carried out here and what is the data that you have?

    I graphed a barplot using R, with two variables. So on the y axis is the infiltration rate and on the x axis is the burn treatment applied to the ground and it is either grazed or ungrazed so there are two bars for each burn treatment.
    It sounds as though you have a number of plots of land (how many?) some of which are grazed and some of which are ungrazed (how many?) To each of these plots of land one of two "burn" treatments are applied (randomly?) and an outcome - "infiltration rate" is measured at some point in time. Is this the set up?

    I want to complete two tests
    1) firstly whether there is a relationship between the burn treatments
    It's unclear to me what this means - isn't the application of the burn treatment part of the experimental design? If so, the relationship between the burn treatments is fixed by the design of the experiment.


    2) to see whether there is a relationship between the burning and grazing on the infiltration rate.
    Right, this looks clearer - you want ANOVA in some form. The simplest way to do this in R is to set it up as a linear regression with infiltration rate as outcome and burn treatments and grazing statement as binary categorical explanatory variables. So something like

    mod <- lm(infiltration ~ factor(burn) + factor(graze))
    summary(mod)
    • Thread Starter
    Offline

    4
    ReputationRep:
    I just want to calculate whether there will be differences in the infiltration rate at according to each burn treatment. With the hypothesis that the greatest rates will occur at a site which has only been burned once, a site burned every 20 years and a site burned every 10 years.

    Does ANOVA still apply to this?
    Offline

    14
    ReputationRep:
    (Original post by winniethorn)
    I just want to calculate whether there will be differences in the infiltration rate at according to each burn treatment. With the hypothesis that the greatest rates will occur at a site which has only been burned once, a site burned every 20 years and a site burned every 10 years.

    Does ANOVA still apply to this?
    So your burn variable is not binary (burn/no-burn)? Yes, the linear regression version of AVOVA still works fine, just be careful with the type of variable that you use to describe the burning - if it is once/every ten/every twenty years, then the syntax I've given you will still work best. If you have a lot of different levels of burning, tell me, and we'll think again.
    • Thread Starter
    Offline

    4
    ReputationRep:
    Yes it the measurements are taken literally from a plot that was burned once 50 years ago, a plot burned every 20 years and a plot burned every 10 years. Each plot was split into two, one subject to grazing pressures and another without
    • Thread Starter
    Offline

    4
    ReputationRep:
    Also thank you for your help, I appreciate your time
    • Thread Starter
    Offline

    4
    ReputationRep:
    (Original post by Gregorius)
    So your burn variable is not binary (burn/no-burn)? Yes, the linear regression version of AVOVA still works fine, just be careful with the type of variable that you use to describe the burning - if it is once/every ten/every twenty years, then the syntax I've given you will still work best. If you have a lot of different levels of burning, tell me, and we'll think again.


    When I enter the ANOVA code you uploaded it states

    Error non-numeric argument to function
    Offline

    14
    ReputationRep:
    (Original post by winniethorn)
    When I enter the ANOVA code you uploaded it states

    Error non-numeric argument to function
    You need to prepare your data appropriately.
 
 
 
Reply
Submit reply
Turn on thread page Beta
Updated: February 9, 2018

University open days

  1. University of Cambridge
    Christ's College Undergraduate
    Wed, 26 Sep '18
  2. Norwich University of the Arts
    Undergraduate Open Days Undergraduate
    Fri, 28 Sep '18
  3. Edge Hill University
    Faculty of Health and Social Care Undergraduate
    Sat, 29 Sep '18
Poll
Which accompaniment is best?
Useful resources

Make your revision easier

Maths

Maths Forum posting guidelines

Not sure where to post? Read the updated guidelines here

Equations

How to use LaTex

Writing equations the easy way

Student revising

Study habits of A* students

Top tips from students who have already aced their exams

Study Planner

Create your own Study Planner

Never miss a deadline again

Polling station sign

Thinking about a maths degree?

Chat with other maths applicants

Can you help? Study help unanswered threads

Groups associated with this forum:

View associated groups

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Write a reply...
Reply
Hide
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.