留学生课设|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

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

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

深度学习 精选笔记(13.1)卷积神经网络-LeNet模型

学习参考: 动手学深度学习2.0Deep-Learning-with-TensorFlow-bookpytorchlightning ①如有冒犯、请联系侵删。 ②已写完的笔记文章会不定时一直修订修改(删、改、增),以达到集多方教程的精华于一文的目的。 ③非常推荐上面(学习参考&#x…

SAR ADC教程系列5——FFT频谱泄露以及相干采样

频谱泄露的出现以及如何规避? 为什么要相干采样? 1.分析ADC输出信号的频谱工具:DFT(Discrete Fourier Transform) 重点:DFT相邻频谱频率间隔为fs/N 如何规避频谱泄露? 对于DFT,它对于接收到的信…

Qt文件读写

做一个简单的文件读写,我们把一个结构体内的数据写入到二进制文件中,并重新读取解析。代码结构如下: 项目名称随便起就好了。main.cpp是主函数;DataHandler实现文件的写与读,还要模拟过程;Definition.h放置…

机器学习-绪论

机器学习致力于研究如何通过计算的手段、利用经验来改善系统自身的性能。在计算机系统中,“经验”通常以“数据”的形式存在,因此,机器学习所研究的主要内容,是关于在计算机上从数据中产生“模型”的算法,即“学习算法…

NPM 仓库的超集 JSR 来了!

引言 今天在 Deno 博客中看到了一篇文章,介绍了一个叫 JSR 的包管理注册中心,简单尝试了一下觉得还不错,本文将结合原文章和个人体验对 JSR 进行一个详细的介绍。 在现如今的前端开发中,包管理注册中心 (如 npmjs.com) 扮演着至…

Git——本地使用详解

目录 Git1、开始版本控制1.1、初始化Repository1.2、使目录脱离Git控制 2、把文件交给Git管控2.1、创建文件后交给Git2.2、git add之后再次修改文件2.3、git add "--all"与"."参数区别2.4、把暂存区的内容提交到存储库里存档 3、工作区、暂存区与存储库3.1…

Epuck2机器人固件更新及IP查询

文章目录 前言一、下载固件更新软件包:二、查询机器人在局域网下的IP 前言 前面进行了多机器人编队仿真包括集中式和分布式,最近打算在实物机器人上跑一跑之前的编队算法。但由于Epuck2机器人长时间没使用,故对其进行固件的更新,…

软考高级:软件架构本质和作用概念和例题

作者:明明如月学长, CSDN 博客专家,大厂高级 Java 工程师,《性能优化方法论》作者、《解锁大厂思维:剖析《阿里巴巴Java开发手册》》、《再学经典:《Effective Java》独家解析》专栏作者。 热门文章推荐&am…

【PyTorch】进阶学习:一文详细介绍 torch.save() 的应用场景、实战代码示例

【PyTorch】进阶学习:一文详细介绍 torch.save() 的应用场景、实战代码示例 🌈 个人主页:高斯小哥 🔥 高质量专栏:Matplotlib之旅:零基础精通数据可视化、Python基础【高质量合集】、PyTorch零基础入门教程…

Vue组件封装方案对比——v-if方式与内置component方式

近期在准备搭建一个通用组件库,而公司现有的各个系统也已有自己的组件库只是没抽离出来,但是目前有两套不同的组件封装方案,所以对于方案的选择比较困惑,于是对两种方式进行了对比,结合网上找到的一些开源组件库进行分…

wireshark解析https数据包

Debian11环境: 在linux环境下抓取访问某个https的网址时抓取的数据包都是加密的,导致无法跟踪到数据包流,现在尝试将抓取的https包进行解密。 1、解密https数据包需要设置SSLKEYLOGFILE变量,推荐写入配置文件中。 echo "exp…

Mysql的行级锁

MySQL 中锁定粒度最小的一种锁,是 针对索引字段加的锁 ,只针对当前操作的行记录进行加锁。 行级锁能大大减少数据库操作的冲突。其加锁粒度最小,并发度高,但加锁的开销也最大,加锁慢,会出现死锁。行级锁和存…

Ps:文字工具

工具箱里的文字工具组中包含了四种工具: 横排文字工具 Horizontal Type Tool 直排文字工具 Vertical Type Tool 横排文字蒙版工具 Horizontal Type Mask Tool 直排文字蒙版工具 Vertical Type Mask Tool 快捷键:T 横排文字蒙版工具和直排文字蒙版工具…

C++第六弹---类与对象(三)

✨个人主页: 熬夜学编程的小林 💗系列专栏: 【C语言详解】 【数据结构详解】【C详解】 目录 1、类的6个默认成员函数 2、构造函数 2.1、概念 2.2、特性 3、析构函数 3.1、概念 3.2、特性 3.3、调用顺序 总结 1、类的6个默认成员函数…

力扣hot100:33. 搜索旋转排序数组(二分的理解)

33.搜索旋转排序数组 ​ 这是一个非常有趣的问题,如果不要求使用O(logn)应该没人会想到吧。。 方法一: 极致的分类讨论。旋转排序数组,无非就是右边的增区间的数小于左边的增区间的数,然后依次排序。因此我们只需要分三类讨论即可…

【测试开发学习历程】MySQL数据类型 + MySQL表创建与操作

前言: 半夜梦到自己没有写今天的博客,结果惊醒起来看一看。 得,真的没写。QWQ 可谓垂死病中惊坐起了。 看看发博的时间6:16,而不是什么整点的,就知道我4点就起来了,不是定时发布&#xff01…

知识积累(五):Transformer 家族的学习笔记

文章目录 1. RNN1.1 缺点 2. Transformer2.1 组成2.2 Encoder2.2.1 Input Embedding(嵌入层)2.2.2 位置编码2.2.3 多头注意力2.2.4 Add & Norm 2.3 Decoder2.3.1 概览2.3.2 Masked multi-head attention 2.4 Transformer 模型的训练和推理2.4.1 训练…

C语言学习过程总结(16)——指针(4)

一、数组名的理解 我们直接使用%p打印出地址来看看&arr【0】 和 arr的不同: int main() {int arr[10] { 1,2,3,4,5,6,7,8,9,10 };printf("&arr[0] %p\n", &arr[0]);printf("arr %p\n", arr);} 、 很容易看出来两者的输出…

ES模块化

Node.js默认并不支持ES模块化,如果需要使用可以采用两种方式。方式一,直接将所有的js文件修改为mjs扩展名。方式二,修改package.json中type属性为module。 导出 默认导出 // 向外部导出内容 export let a 10 export const b "孙悟空…

数据分析 | NumPy

NumPy,全称是 Numerical Python,它是目前 Python 数值计算中最重要的基础模块。NumPy 是针对多维数组的一个科学计算模块,这个模块封装了很多数组类型的常用操作。 使用numpy来创建数组 import numpy as npdata np.array([1, 2, 3]) print…