Standard Deviation funtion?

Posted 4 months ago by fbc

I am trying to get the standard deviation for an array like this:

        //put all GW1 records into an array
        $GW1pluck_array = $results->pluck('GW1')->toArray();
        //get standard deviation for all GW1's in the array
        $GW1std = stats_standard_deviation($GW1pluck_array);

stats_standard_deviation does not exist as a laravel function. Is there any such function I can use? Package I can install?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.