FAQ: The Data Analyst Process - Determine the Necessary Data

This community-built FAQ covers the “Determine the Necessary Data” exercise from the lesson “The Data Analyst Process”.

Paths and Courses
This exercise can be found in the following Codecademy content:

Data Analyst

FAQs on the exercise Determine the Necessary Data

There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply (reply) below.

If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.

Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply (reply) below!
You can also find further discussion and get answers to your questions over in Language Help.

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources? Head to Language Help and Tips and Resources. If you are wanting feedback or inspiration for a project, check out Projects.

Looking for motivation to keep learning? Join our wider discussions in Community

Learn more about how to use this guide.

Found a bug? Report it online, or post in Bug Reporting

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!

Would the answers for the instructions on this lesson be:

  • Around 414
  • 357
    ?
2 Likes

I got the answer:

  • 418

  • 357

I came up with the same, 418 & 357

I wonder if I am reading the instructions wrong as I am generating a different answer from other users in this thread.

Let’s use the sample size calculator to answer the following questions:

  • Our Date-an-Analyst dataset has 200 entries, meaning that our current sample size is equal to 200. If we have a 5% margin of error, 95% confidence level, and a likely sample proportion of 50%, what size does our overall population need to be?

  • What if the population of Date-an-Analyst users is closer to 5,000? Keeping the same values for margin of error, confidence level, and likely sample proportion, what should the size of our sample be?

My answers are as follows;

  • 132
  • 357

If the same size is 200 with a 5% margin of error, 95% confidence level and likely sample proportion of 50%, the answer I am receiving is 132, where as other learners appear to be generating 418. I am going wrong somewhere and if someone could assist me it would be greatly appreciated!

1 Like

@spamathome - In the first bullet point, the objective is to change the “Population Size” input (with the 5% margin of error, 95% confidence level, and likely sample proportion of 50%) to make the Sample Size output equal to the 200 entries.

Based on your 132 answer, it seems as though you’ve put in “200” as the Population Size. If you input “418” (with the other settings noted), you’ll end up with the Sample Size of 200.

The answers here were very helpful. I was also having difficulty with the first portion. The answers are as follows

Part A: The upper bound is 418 and the lower bound is 414. Therefore the sample size will equal 200.
Part B: The sample size will be 357.

This is a great community for collaboration. Thanks everyone!

Thank you for the help!

1 Like

In case anyone did not understand why 50% is suggested as default, this explanation may help