1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Flauer [41]
4 years ago
5

The management of your team wants you to run descriptive statistics on the relative skill of your team from 2013-2015. In this p

roject, you will use the variable 'elo_n' to represent the relative skill of the teams. Calculate descriptive statistics including the mean, median, variance, and standard deviation for the relative skill of your team.
Make the following edits to the code block below:
1. Replace ??MEAN_FUNCTION?? with the name of Python function that calculates the mean
2. Replace ??MEDIAN FUNCTION?? with the name of Python function that calculates the median
3. Replace ?? VAR FUNCTION?? with the name of Python function that calculates the variance
4. Replace ??STD FUNCTION?? with the name of Python function that calculates the standard deviation

print("Your Team's Relative skill in 2013 to 2015")
print("________________________________")

#.............TODO: make your edits here ................
mean = your_team_df['elo_n'].??MEAN FUNCTION?? ()
median = your_team_df ['elo n'].??MEDIAN FUNCTION?? ()
variance = your_team_df ['elo n'].?? TVAR FUNCTION?? ()
stdeviation = your_team_df ['elo n'].??STD_FUNCTION??

print('Mean =' , round(mean, 2))
print('Median =' , round(median, 2))
print('variance =' , round(variance, 2))
print('Standard deviation =' , round(stdeviation, 2))
Computers and Technology
1 answer:
Brilliant_brown [7]4 years ago
3 0

Answer:

I will suppose data here ,when you run your you just need to use your own statistics data for mean ,median, variance and standard deviation

data1 = {1, 3,4,7,12,3,45}

x = np.arange(20)

print("Your Team's Relative skill in 2013 to 2015")

print("descriptive statistics including the mean, median, variance, and standard deviation for the relative skill of your team")

mean = your_team_df['elo_n'].mean(data1)

median = your_team_df ['elo n'].median(data1)

variance = your_team_df ['elo n']. tvar(x)

stdeviation = your_team_df ['elo n'].stdev(data)

print('Mean =' , round(mean, 2))

print('Median =' , round(median, 2))

print('variance =' , round(variance, 2))

print('Standard deviation =' , round(stdeviation, 2))

You might be interested in
You want to connect an external hard drive for backups. Which is the fastest connection used by current external hard drives
Fynjy0 [20]

Answer:

thunderbold proly

Explanation:

5 0
3 years ago
Write a program that inputs a text file. The program should print the unique words in the file in alphabetical order. Uppercase
satela [25.4K]

Answer:

Read the file and save it to a variable as a string, split the string variable and cast it to a set object using the set function to get the unique words in the file. Then use the max function with the key attribute to use regular expression module "re" to compare the first letter of each item to return in a list comprehension or append to a list.

Explanation:

The open function is used to import a file in python, the split string method splits the string to a list of items and the set function removes any duplicates of a word or item.

Using the for loop statement, iterate over the items and compare and return the items in alphabetical order with the 're' search method getting the item with uppercase letters with higher precedence than lowercase.

5 0
3 years ago
A personal career profile for can be used to match what you know about yourself to what you know about different careers
mel-nik [20]

Answer:

B

Explanation:

give answers next time pls so i can help you!!

3 0
4 years ago
Read 2 more answers
We piped the results of the Get-Process cmdlet to the Sort-Object cmdlet to sort them in descending order. Which property was us
Basile [38]
The answer is yes hope this helps did before
5 0
3 years ago
Write a static method named lowestPrice that accepts as its parameter a Scanner for an input file. The data in the Scanner repre
NikAS [45]

Answer:

Explanation:

The following code is written in Java. It creates the method as requested which takes in a parameter of type Scanner and opens the passed file, reads all the elements, and prints the lowest-priced element in the file. A test case was done and the output can be seen in the attached picture below.

import java.io.File;

import java.io.FileNotFoundException;

import java.util.Scanner;

class Brainly{

   public static void main(String[] args) throws FileNotFoundException {

       Scanner console = new Scanner(System.in);

       System.out.print("file location: ");

       String inputLocation = console.next();

       File inputFile = new File(inputLocation);

       Scanner in = new Scanner(inputFile);

       lowestPrice(in);

   }

   public static void lowestPrice(Scanner in) {

       double smallest = in.nextDouble();

       while(in.hasNextDouble()){

           double number = in.nextDouble();

           if (number < smallest) {

               smallest = number;

           }

       }

       System.out.println(smallest);

       in.close();

   }

}

6 0
3 years ago
Other questions:
  • Where can information on metalworking occupations be found?
    14·2 answers
  • Three business partners are forming a company whose name will be of the form "name1, name2 and name3". however, they can't agree
    13·1 answer
  • The​ ________ is a​ c-shaped structure that curves around the pancreas and stomach
    9·1 answer
  • An ideal line length would include how many characters? A. 6570 B. 100 C. 100125 D. 4055
    8·1 answer
  • To type a small letter "z", you would use the right little finger. (5 points)True False
    9·1 answer
  • Use knowledge of the actions and adverse effects of NSAIDs to choose the correct statement.
    13·1 answer
  • Which statement is true?
    12·2 answers
  • I NEED an example of output plssss​
    13·1 answer
  • How to do row of circles in phyton programming ?
    11·1 answer
  • Which cpu type would most likely be found in a smartphone?.
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!