You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: pr_stat_compute.m
    path of file: ./repos/malini/Codes/deconvolution - model/spm8/marsbar-0.44/@mardo_5/private
    
    the code of the file until where you have to start completion: function [con,stat,Ps,Pc] = pr_stat_compute(SPM,Ic)
% private function to compute statistics for SPM2 design
% FORMAT [con stat Ps Pc] = pr_stat_compute(SPM,Ic)
% 
% Input
% SPM       - SPM design structure
% Ic        - indices into contrast structure (xCon in SPM)
%
% Output
% con       - contrast value (ess for F test)
% stat      - statistic value
% Ps        - uncorrected p value
% Pc        - P value Bonferroni corrected for number of columns analyzed
%
% Based on:
% @(#)spm_contrasts.m	2.3 Andrew Holmes, Karl Friston & Jean-Baptiste Poline 02/12/30

    
function [con,stat,Ps,Pc] = pr_stat_compute(SPM,Ic)
% private function to compute statistics for SPM2 design
% FORMAT [con stat Ps Pc] = pr_stat_compute(SPM,Ic)
% 
% Input
% SPM       - SPM design structure
% Ic        - indices into contrast structure (xCon in SPM)
%
% Output
% con       - contrast value (ess for F test)
% stat      - statistic value
% Ps        - uncorrected p value
% Pc        - P value Bonferroni corrected for number of columns analyzed
%
% Based on:
% @(#)spm_contrasts.m	2.3 Andrew Holmes, Karl Friston & Jean-Baptiste Poline 02/12/30
%
% $Id: pr_stat_compute.m 214 2004-01-22 20:23:58Z matthewbrett $

%-Get contrast definitions (if available)
%-----------------------------------------------------------------------
try
	xCon  = SPM.xCon;
catch
	xCon  = [];
end