Coder Social home page Coder Social logo

lab-10's Introduction

Lab 10: Statistical inference

๐Ÿ’ช๐Ÿป Under development

Preparation

  • Read/ annotate: Recipe #10. You can refer back to this document to help you at any point during this lab activity.

Objectives

  • Review skills and knowledge on performing diagnostic checks on data
  • Learn to convert research questions to hypotheses
  • Apply skills and knowledge to identify, inspect, interrogate, and interpret the results of inferential analysis

Instructions

Getting started

In this lab, you will be using Git and Github to fork, clone, commit, and push changes to a repository. The repository you will select to use as the repository to fork to your own Github account can be one of the following:

If you are starting with a new repository, fork and clone the repository you selected to your local machine. Then orient yourself to the repository by opening the README file and reviewing the template configuration.

If you are using an existing reproducible research project repository, open that project on your local machine, and pull the latest changes from the remote repository to ensure that your local and remote repositories are in sync.

Open a Quarto document in the process directory and name it accordingly (e.g., 4_analysis.qmd, analysis.qmd, etc.).

The data you select to explore should be in a format conducive for performing statistical inference for a specific hypothesis. The options include the following:

  • Europarl Corpus of Native, Non-native, and Translated Texts (see below for details)
  • The dataset you transformed in Lab 07
  • Other (consult your instructor)

Inferential analysis

In your analysis process file,

  1. add a section which provides a brief description of the dataset you will be using and the analysis setup and hypothesis. Include:
  • the name and/ or source of the data
  • the nature of the data
  • the response variable and the explanatory variable(s)
  1. add a section which provides a description of the explanatory variables you will use and how they are operationalized. Include:
  • a description of the response variable and the explanatory variable(s)
    • including the unit of observation and the key variables of interest in the dataset
  • a description of the process you will use to inspect the data and perform diagnostic checks
  1. add a section which provides a description of the modeling process you will be using to conduct the analysis. Include:
  • a description of the high-level modeling process you will be using to conduct the analysis (e.g. chi-square test, t-test, or logistic or linear regression)
  • for the modeling process, how will you operationalize the model (e.g. chi-square test of independence, t-test for difference in means, or logistic or linear regression fit)
  • a description of the process you will use to derive the $p$-value and and confidence intervals
  1. Implement and make sure to organize your analysis process in a way that is reproducible. This means that you should be able to run the code in your process file and reproduce the process (use set.seed() for any sampling process, for example). Use the data/analysis (or similar) directory to store any derived datasets used in the analysis.

  2. Make sure that your code is well documented with code comments and that you have included prose to describe the process of analyzing the dataset.

  3. Include a section to describe the results of your analysis. This will minimally contain the model estimates, $p$-values, and confidence intervals and may contain effect size and/ or variance explained measures.

  4. Confirm that your code runs without errors and that the code, visualizations, and/ or tables are displayed as expected.

  5. Finally, commit and push your changes to your Github repository. Make sure to include files or directories that you do not have permission to share in your .gitignore file.

Assessing your progress

  1. In your repository on Github, open an issue to provide feedback on your experience with this lab (Click on the 'Issues' tab and then click the 'New issue' button). Title the issue "Lab 09 feedback" and provide your feedback in the body of the issue.

Some questions to consider:

  • What did you learn?
  • What did you find most/ least challenging?
  • What resources did you consult?
    • Instructor? R or Quarto documentation, Websites (provide links)?
  • What more would you like to know about inferential analysis?
    • Find potential resources you might consult to continue your learning. Provide links and a brief description of the resource.

Submission for feedback

  • Provide a link to your GitHub repository

Europarl Corpus of Native, Non-native, and Translated Texts

Transform the ENNTT data so that the dataset is in the following format.

doc_id doc_type syntactic_complexity_1 syntactic_complexity_2 ...
1 native 0.1 0.2 ...
2 native 0.3 0.4 ...
3 translation 0.5 0.6 ...
4 translation 0.7 0.8 ...

: Table 1: Example of the transformed ENNTT data

lab-10's People

Contributors

francojc avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.