留学生课设|R语言|研究方法课设

目录

INSTRUCTIONS

Question 1. Understanding Quantitative Research

Question 2. Inputting data into Jamovi and creating variables (using the dataset)

Question 3. Outliers

Question 4. Tests for mean difference

Question 5. Correlation Analysis


INSTRUCTIONS

You will be given a database, containing participant data from an experiment. The database contains some mistakes and incomplete information. Your tasks will be to clean the database so that you may run the proper analyses. The Jamovi dataset can be found on Canvas, [here]

You will need the programme Jamovi to complete this assessment. You can find it here: https://appsanywhere.kingston.ac.uk or jamovi desktop - jamovi 

List of tasks:

1. Demonstrate knowledge of Quantitative methods

2. Computing/Transforming variables in Jamovi

3. Descriptive statistics

4. Plotting data

5. Outlier detection

6. Comparing means

7. Qualitative and quantitative research

Note that not all tasks will require the same amount of time to complete.

This assignment is a report. This means:

  • Create a new Word document where you write down all your answers (formatted nicely)
  • Be concise and straight to the point when describing your results
  • Write up each task (1-6) under a separate heading
  • Present your results professionally and explain to the reader what each figure and/or table represents.
  • Label any figures, tables or graphs
  • No references are needed for tasks 1-5.
  • Please use academic references for Question 6.


Question 1. Understanding Quantitative Research

What is a Discrete variable and a Nominal variable? Provide an example of each.

A local council is interested in increasing people’s eating of vegetables, to improve health and wellbeing. They decide to have a banner over shops for a 4-week period that promote buying greens to see how shopping patterns change. Then they will compare with the period 4 weeks before the banners were placed. They also will ask shoppers about their age, number of vegetables they purchased, type of vegetables (root, leafy, gourd, or cruciferous), and how much of their meals consist of some vegetables (using a 5-point Likert scale from None to All). Consider the experiment (IV and DVs) and describe the data collected (i.e., type, format, etc.). Hint: there are 4 dependent variables.

The figure represent data from a wellbeing study conducted by the local council; There were different interventions run in the North and in the South of London. The results of the two interventions are displayed by the boxplots. What can you say about the distribution of data of the two boroughs? Hint: Consider its dispersion.

What is an outlier? And what effects can if have on statistical inference.

  1. Consider the following scenario: A group of criminologists are interested in understanding the effect having more police officers walking the streets at night on people’s sense of safety in their community.
      1. What is the IV in this scenario?
      2. What is the DV?
      3. What would the experimental hypothesis be?
  2. Provide one advantage and one disadvantage of:
      1. A between-subjects (independent) design
      2. A within-subjects (repeated) design
  3. Explain the main difference between a Probability sampling and a Non-probability sampling approaches. Provide at least one advantage and one disadvantage of each.

Question 2. Inputting data into Jamovi and creating variables (using the dataset)

For this task, we will make sure our variables are of the correct type and are labelled properly. The experiment focused on the potential differences in self-reported feelings of well-being between people that come from an individualist culture and those that come from a collectivist culture.

You may have noticed that some of the variables in the dataset (RA2-2024.omv) are not of the correct type: Age, Wellbeing_T2. This will result in issues with tests and inferences. Before you do anything else, you need to correct these.

  1. Change the variables to the appropriate type.
  2. Mention briefly why the type you selected is the correct one.

[Paste a screenshot of the result in your report]

Using ‘Compute variable’, create the following variable, take a screen shot in data view, and paste it in your report:

  • Wellbeing_AVG: (Wellbeing_T1+ Wellbeing_T2) / 2

[Paste a screenshot of the result in your report]

Using Jamovi, report in a table the minimum, maximum, mean, and standard deviation for the participants sample using the ENTIRE database. Copy the below table into your report and input the correct values.

Statistic

Participants

Age

Wellbeing_AVG

Minimum

Maximum

Standard deviation (SD)

Mean

Using Jamovi, calculate the minimum, maximum, mean, and standard deviation for the two groups separately: Individual and Collectivist. Fill in the table below and add it to your report. Hint: use the Split By option in the Descriptives.

Statistic

Individualist

Collectivist

Wellbeing (AVG)

Age

Wellbeing (AVG)

Age

Minimum

Maximum

Standard deviation (SD)

Mean

  1. Briefly describe the differences between Individuals and Collectivist participants. You don’t need to mention every number in the tables – choose the most interesting ones to compare.

Question 3. Outliers

You should always check a dataset for outliers. For this section, we will create standardised scores (z-scores) for the participants. Make sure to Filter each group in turn to ensure you find the outlier relevant to Individualist and Collectivist participants separately.

  1. Generate the standardised scores for Wellbeing_AVG scores, as a new Variable (e.g., Z_Wellbeing_AVG). Paste a screen shot of the data view below to show you have done this. (Make sure the top row (S001) is visible in the screenshot).

[Paste a screenshot of the result in your report]

  1. Report any participants which can be classed as outliers. And explain the criteria you used to make the decision to classify these as outliers.

  1. Remove the outliers from your database. Paste a screenshot of the total number of participants remaining in your database (you can use the Frequency option to get the summary).

Question 4. Tests for mean difference

Although the descriptive statistics may have indicated some different scores between the two groups, we now want to discover if these differences are statistically significant between Individualist and Collectivist people. To do this, you will conduct a 2-sample independent test of mean difference (aka. t-test) to see if the Wellbeing (AVG) scores are significantly different between the two groups, and what this difference looks like (estimated mean difference and uncertainty).

  1. First, write down the null and alternative hypotheses for such a test:

H0:

Ha:

  1. Run the independent samples t-test using the ESCI module in Jamovi and fill in the table: Hint: do not forget to check the assumptions of the test and plot the results.

t

df

p-value

Mean difference

95% CI

Upper and Lower bounds

Cohen’s d (standardised effect size)

  1. Write up your findings from the test and explain what you can conclude from these results about the wellbeing levels of the two groups. Focus on first determining statistical significance (either using the p-value or the 95%CI), then explain what values for the mean difference is the data compatible with (using the 95%CI). Would the effect be considered worthwhile from a scientific point of view (use Cohen’s d cut-offs)?

Question 5. Correlation Analysis

You will now use correlation analysis to see if there is any association between Wellbeing at different timepoint (T1 and T2); this is to understand the stability of the experience.

  1. Create a scatterplot of the two wellbeing measures.

[Paste a screenshot of the result in your report]

Run a correlation between the two variables (Wellbeing_T1 and Wellbeing_T2). Paste in the correlation output table in your report. Hint: do not forget to check the assumptions of the correlation.

[Paste a screenshot of the result in your report]

What does the correlation analysis reveal about the stability or variability of wellbeing within the general population? Interpret the direction and strength of the relationship (r value), and its uncertainty (95%CI). Hint: you should also provide a plot of the effect.

Question 6. Quantitative and Qualitative Data Analyses

Finally, we should think about both the qualitative and quantitative skills you have gained. Apply what you’ve learned to the following:

“Sociologists are interested in the effects the pandemic has had on children’s ability to socialise with others. They are considering how the use of online teaching methods may be impacting the children’s ability to engage with their peers.”

A) The quantitative (experimental) way to uncover this question is the following: The researchers decide to put students into two groups – Online vs Offline – and give the students a 1h session (either over Teams or face-to-face) where they can talk to other students and attempt to make friends. The experimenters record the number of positive and negative interactions. The data from the two groups is compared.

B) The qualitative way to understand the effects of online teaching on children is the following: The researchers select a few students to interview. Using semi-structured interviews, they ask each child about their experience with making friends virtually and in person. They consider how easy it is to make friends, how you understand each other, and take turns engaging; from the interviews they generate transcripts and then code for similar themes to understand their experiences.

What are the advantages and disadvantages of answering this question using a quantitative (Scenario I) or qualitative (Scenario II) approach? Write around 400 words (in total) and make reference to academic writings on the topic of charitable giving effects (e.g., books, journal articles) in your responses. For help with referencing please see Cite them Rite. Provide a list of references at the end of your answer using the Harvard System of Referencing.

END

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/745489.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

如何安装ES

Elasticsearch入门安装 ES的官方地址:Elasticsearch 平台 — 大规模查找实时答案 | Elastic 我们进到网页可以看到platform(平台) 我们可以看到Elasticsearch logstash kibanba beats 这几个产品 Elasticsearch:分布式&…

某夕夕商品数据抓取逆向之webpack扣取

逆向网址 aHR0cHM6Ly93d3cucGluZHVvZHVvLmNvbQ 逆向链接 aHR0cHM6Ly93d3cucGluZHVvZHVvLmNvbS9ob21lL2JveXNoaXJ0 逆向接口 aHR0cHM6Ly9hcGl2Mi5waW5kdW9kdW8uY29tL2FwaS9naW5kZXgvdGYvcXVlcnlfdGZfZ29vZHNfaW5mbw 逆向过程 请求方式:GET 参数构成 【anti_content】…

基于Transformer的经典目标检测之DETR

背景 DETR,即DEtection TRansformer,是由尼古拉斯卡里翁及其团队于2020年在Facebook AI Research首次提出的,它在目标检测领域开创了一种新的波潮。 虽然目前并未保持最先进(State Of The Art)的地位,但DET…

vr虚拟现实游戏世界介绍|数字文化展览|VR元宇宙文旅

虚拟现实(VR)游戏世界是一种通过虚拟现实技术创建的沉浸式游戏体验,玩家可以穿上VR头显,仿佛置身于游戏中的虚拟世界中。这种技术让玩家能够全方位、身临其境地体验游戏,与游戏中的环境、角色和物体互动。 在虚拟现实游…

IP在网络通信中的重要作用

IP,全称Internet Protocol,即网际互连协议,是TCP/IP体系中的网络层协议。IP作为整个TCP/IP协议族的核心,是构成互联网的基础。它的作用重大且深远,下面将详细阐述IP的定义及其在网络通信中的重要作用。 首先&#xff0…

SpringBoot中的配置文件优先级、bootstrap和application的区别

SpringBoot中的配置文件优先级 SpringBoot项目当中支持的三类配置文件: application.properties application.yml application.yaml 在SpringBoot项目当中,我们要想配置一个属性,可以通过这三种方式当中的任意一种来配置都可以&#xff0…

Elastic Agent 的安装及使用

概述 Elastic Agent是Elastic Stack中的一个全新组件,旨在简化和统一监控和集成管理流程。它是一个轻量级的代理,可以部署到各种不同类型的主机和容器中,用于收集系统指标、日志和事件数据,并将其发送到Elasticsearch进行存储和分…

SpringBoot(自定义转换器+处理Json+内容协商)

文章目录 1.自定义转换器1.代码实例1.save.html2.编写两个bean1.Car.java2.Monster.java 3.WebConfig.java 配置类来自定义转换器4.测试 2.注意事项和细节1.debug查看转换器总数1.打断点2.执行到断点后,选左边的1923.可以看出,加上自定义的转换器一共125…

分类预测 | Matlab实现GSWOA-KELM混合策略改进的鲸鱼优化算法优化核极限学习机的数据分类预测

分类预测 | Matlab实现GSWOA-KELM混合策略改进的鲸鱼优化算法优化核极限学习机的数据分类预测 目录 分类预测 | Matlab实现GSWOA-KELM混合策略改进的鲸鱼优化算法优化核极限学习机的数据分类预测效果一览基本介绍程序设计参考资料 效果一览 基本介绍 GSWOA-KELM分类&#xff0…

react04- mvc 、 mvvm

MVC与MVVM stackoverflow论坛网站 react前端框架 使用框架前: 操作dom > js获取dom元素,事件侦听,修改数据,设置样式。。。 操作dom问题: 直接操作dom,会造成大量的回流、重绘,消耗大量性能操作起来也…

论文阅读——RingMo

RingMo: A Remote Sensing Foundation Model With Masked Image Modeling 与自然场景相比,RS图像存在以下困难。 1)分辨率和方位范围大:受遥感传感器的影响,图像具有多种空间分辨率。此外,与自然图像的实例通常由于重…

尚硅谷SpringBoot3笔记 (二) Web开发

Servlet,SpringMVC视频推荐:53_尚硅谷_servlet3.0-简介&测试_哔哩哔哩_bilibili HttpServlet 是Java Servlet API 的一个抽象类,用于处理来自客户端的HTTP请求并生成HTTP响应。开发人员可以通过继承HttpServlet类并重写其中的doGet()、do…

【图论】计算图的n-hop邻居个数,并绘制频率分布直方图

计算图的n-hop邻居个数,并绘制频率分布直方图 在图论中,n-hop邻居(或称为K-hop邻居)是指从某个顶点出发,通过最短路径(即最少的边数)可以到达的所有顶点的集合,其中n(或…

JVM及垃圾回收算法

一、JVM 1、jvm的内存组成 五大内存区域,分1.7和1.8 1.堆内存:引用类型的数据,内部组成:1.新生代(伊甸区和幸存者区)2.老年代。该区域经常发生垃圾回收的操作 堆是JVM中最大的一块内存区域,用…

【爬虫】requests.post请求中的data和json使用区别

请求体是键值对形式(无花括号),请求时需要使用data参数处理。 代码: data {...} ret requests.post(url, headersheaders, datadata)请求体是字典形式(有花括号),请求时需要使用json参数处理。…

派对游戏2024年新局面:二超多强,市场细分

2023年末,《元梦之星》上线迎战《蛋仔派对》,网腾大战打响。 这场战役从开局就进入到了白热化,双方投入真金白银来拉拢玩家,于春节这一亲朋相聚最适合派对游戏的时段集中发力,互有胜负。 目前《元梦之星》略处下风&a…

Principled Instructions Are All You Need for Questioning LLaMA-1/2, GPT-3.5/4

Principled Instructions Are All You Need for Questioning LLaMA-1/2, GPT-3.5/4 相关链接:arxiv 关键字:Questioning LLaMA、GPT-3.5/4、guiding principles、prompting、large language models 摘要 本文介绍了26个旨在简化查询和提示大型语言模型&…

自然语言处理NLP:tf-idf原理、参数及实战

大家好,tf-idf作为文体特征提取的常用统计方法之一,适合用于文本分类任务,本文将从原理、参数详解和实际处理方面介绍tf-idf,助力tf-idf用于文本数据分类。 1.tf-idf原理 tf 表示词频,即某单词在某文本中的出现次数与…

力扣 322 零钱兑换

题目描述 给定不同面额的硬币 coins 和一个总金额 amount。编写一个函数来计算可以凑成总金额所需的最少的硬币个数。如果没有任何一种硬币组合能组成总金额,返回 -1。 你可以认为每种硬币的数量是无限的。 示例 1: 输入:coins [1, 2, 5…

x6.js 从流程图组件库中拖拽组件到画布dnd使用

上一篇已经了解到了x6.js常用功能以及使用方法。但我们使用流程图的时候还少不了一个非常重要的功能那就是拖拽组件库里的组件进来。如下图: 首先是布局这块,拖拽组件库的视图中布局无需我们去写,我们只需把界面搭建好。 添加组件库 1.搭建布…