Skip to content

Instantly share code, notes, and snippets.

@Harshit1694
Last active May 7, 2019 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Harshit1694/5f37380158c89df4ab8fa65dbe709ce7 to your computer and use it in GitHub Desktop.
Save Harshit1694/5f37380158c89df4ab8fa65dbe709ce7 to your computer and use it in GitHub Desktop.
#Step 3 - Calculate sample mean and sample standard deviation
#_______________________________________________________
#Sample mean
xbar<- mean(data$Life.of.LED.Bulbs)
xbar
#Sample standard deviation
s<- sd(data$Life.of.LED.Bulbs)
s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment