How do I do SEM Error Bars?
    65 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
    Delany MacDonald
 le 1 Avr 2016
  
    
    
    
    
    Commenté : Star Strider
      
      
 le 7 Nov 2019
            I know how to find the standard deviation with error bars but how do I find the standard error mean of variables?
0 commentaires
Réponse acceptée
  Star Strider
      
      
 le 1 Avr 2016
        You have to know the number of observations that went into calculating each standard deviation.
Assuming ‘x’ is a vector:
SEM = std(x)/sqrt(length(x));
4 commentaires
  Vlatko Milic
 le 7 Nov 2019
				Hi,
I get two outputs when calculating the standard error according to your example. What can the reason for this be?
Kind regards
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!