Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I am trying to answering this question R, but I keep getting the following error when I run my line of code. Intelligence is numerical

I am trying to answering this question R, but I keep getting the following error when I run my line of code.

Intelligence is numerical

antennae is categorical

"Error in if (stderr < 10 * .Machine$double.eps * abs(mx)) stop("data are essentially constant") :

missing value where TRUE/FALSE needed

In addition: Warning message:

In Ops.factor(x, y) : '-' not meaningful for factors

>"

# Question 4.use a two-sample t test to determine whether there is

# a significant difference in intelligence between aliens with curly

# and straight antennae.What is the null hypothesis, and do you reject it?

# What is the p-value? (3 points)

t.test(my_sample$intelligence,my_sample$antennae, alternative = "two.sided", mu = 0, paired = T)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Proofs And Fundamentals A First Course In Abstract Mathematics

Authors: Ethan D Bloch

2nd Edition

1441971270, 9781441971272

More Books

Students also viewed these Mathematics questions