mò xñbEc@sqdkZdklZdklZdklZdkTdk Tdei fd„ƒYZ de fd„ƒYZ dS( N(sfilename(sdrawScatterplot(s drawHistogram(t*t myOptionMenucBs#tZd„Zd„Zd„ZRS(NcOs,|idƒ|_tii|||ŽdS(Ntcommand(tkwtgettselft_commandttkt OptionMenut__init__targs(RR R((tPC:\Documents and Settings\Administrator\Desktop\Statistical\src\View_MainForm.pyR scCs0|did|dti|||iƒƒdS(NtmenutlabelR(Rt add_commandR Rt_setittvariableR(RR R((R t addOption scCs"|di|di|ƒƒdS(NR (RtdeletetindexR (RR ((R tdelvars(t__name__t __module__R RR(((R Rs  t ApplicationcBsžtZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z d „Z d „Z d „Z d „Z d „Zd„Zgd„Zdd„ZRS(Ncs‹tˆddƒˆ_tˆddƒˆ_tˆddƒˆ_tˆddƒˆ_tˆddƒˆ_tˆddƒˆ_tˆddƒˆ_tˆdd ƒˆ_ tˆdd ƒˆ_ tˆd ˆi i ƒˆ_ tˆd ˆi iƒˆ_tˆd ˆi iƒˆ_tˆd ˆi iƒˆ_tˆd ˆi iƒˆ_tˆd ˆi iƒˆ_tˆd ˆi iƒˆ_tˆd ˆi iƒˆ_tˆd ˆi iƒˆ_tˆd ˆii ƒˆ_tˆd ˆiiƒˆ_ tˆd ˆiiƒˆ_!tˆd ˆiiƒˆ_"tˆd ˆiiƒˆ_#tˆd ˆiiƒˆ_$tˆd ˆiiƒˆ_%tˆd ˆiiƒˆ_&tˆd ˆiiƒˆ_'tˆdd ƒˆ_(tˆdd ƒˆ_)ˆi(i*d|d|ƒˆi)i*d|d|dƒtˆd ˆi i-ƒˆ_.ˆi.i*d|dd|ƒˆi.i/d‡d†ƒtˆd ˆii-ƒˆ_0ˆi0i*d|dd|dƒˆi0i/d‡d†ƒˆi i*d|dd|ƒˆii*d|dd|ƒˆii*d|dd|ƒˆii*d|dd|ƒˆii*d|dd|ƒˆii*d|dd|ƒˆii*d|dd|ƒˆii*d|dd|ƒˆii*d|dd|ƒˆii*d|dd|dƒˆi i*d|dd|dƒˆi!i*d|dd|dƒˆi"i*d|dd|dƒˆi#i*d|dd|dƒˆi$i*d|dd|dƒˆi%i*d|dd|dƒˆi'i*d|dd|dƒˆi&i*d|dd|dƒˆii*d|dƒˆii/d‡d†ƒˆii*d|dƒˆii/d‡d†ƒˆii*d|dƒˆii/d‡d †ƒˆii*d|dƒˆii/d‡d!†ƒˆii*d|dƒˆii/d‡d"†ƒˆii*d|dƒˆii/d‡d#†ƒˆii*d|dƒˆii/d‡d$†ƒˆi i*d|dƒˆi i/d‡d%†ƒˆi i*d|dƒˆi i/d‡d&†ƒdS('NttextsNumber of Numeric Val's: sMax: sMin: sRange: sMean: sMedian: sMode: s Std. Dev.: s Variance: t textvariabletAtBtrowtcolumniiscsˆiidƒS(NsDThis column contains data about the variable selected in pulldown A.(Rt helpDispVartset(tx(R(R t8scsˆiidƒS(NsDThis column contains data about the variable selected in pulldown B.(RRR(R (R(R R!<sii(i2i<iFiPiZidincsˆiidƒS(Ns7The number of numeric entries in the selected variable.(RRR(R (R(R R!SscsˆiidƒS(Ns-The smallest number in the selected variable.(RRR(R (R(R R!UscsˆiidƒS(Ns,The largest number in the selected variable.(RRR(R (R(R R!WscsˆiidƒS(Ns&Max - Min; The spread of the variable.(RRR(R (R(R R!YscsˆiidƒS(Ns"The average value of the variable.(RRR(R (R(R R![scsˆiidƒS(Ns>The centre element if you sort all the values in the variable.(RRR(R (R(R R!]scsˆiidƒS(NsEThe number that appears the largest number of times in this variable.(RRR(R (R(R R!_scsˆiidƒS(NsBThe standard deviation is a measure of how spread out the data is.(RRR(R (R(R R!ascsˆiidƒS(Ns8The variance is a measure of how spread out the data is.(RRR(R (R(R R!cs(1tLabelRtnLabeltmaxLabeltminLabelt rangeLabelt meanLabelt medianLabelt modeLabelt stdDevLabelt varianceLabelRtnValtnDispAtminValtminDispAtmaxValtmaxDispAtrangeValt rangeDispAtmeanValt meanDispAt medianValt medianDispAtmodeValt modeDispAt varianceValt varianceDispAt stdDevValt stdDevDispARtnDispBtminDispBtmaxDispBt rangeDispBt meanDispBt medianDispBt modeDispBt varianceDispBt stdDevDispBtAlbltBlbltgridtrtctnametAlblNametbindtBlblName(RRJRK((RR t createLabelss’!!!!!!!!!!csZtƒˆ_tˆdˆiƒˆ_ˆiid|ddƒˆiid‡d†ƒdS(NRRt columnspani scsˆiidƒS(NsKMove the mouse over a screen element to see an explanation of its function.(RRR(R (R(R R!is(t StringVarRRR"thelpDispRItdepthRN(RRT((RR tcreateHelpDisplayes c sätˆƒˆ_dˆidcsˆiidƒS(Ns&Gives the current variable a new name.(RRR(R (R(R R!zsicsˆiidƒS(Ns*Copies the current variable to a new name.(RRR(R (R(R R!}sicsˆiidƒS(Ns4Use this entry box to type a new name for variables.(RRR(R (R(R R!sicsˆiidƒS(NsDelete the selected variable.(RRR(R (R(R R!strowspantstickytNSEW(tFrameRt VarEditFrametGROOVERRRZRtEntryt newNameEntrytButtonRYRt copyButtontdeleteAtrenameARIRNRJRK(RRJRK((RR tcreateVarEditorsks*   c sÃtˆƒˆ_dˆidcsˆiidƒS(Ns?Ignore any record where either entry contains non-numeric data.(RRR(R (R(R R!sicsˆiidƒS(Ns=Zero any record where either entry contains non-numeric data.(RRR(R (R(R R!’sicsˆiidƒS(Ns\Set any record where either entry contains non-numeric data to the mean of the numeric data.(RRR(R (R(R R!”ssScatterplot (A:B)RcsCtˆiiˆiiˆiiiƒˆiiiƒˆiiƒƒS(N(tdrawScatterplotRRtlistRRLRtScatterRadioVar((R(R R!™siRiRQcsˆiidƒS(NsODisplay a scatterplot comparing the currently selected variables using gnuplot.(RRR(R (R(R R!›sR^R_R`(RaRt ScatterFrameRcRRRqt RadiobuttontselectNullMethodPairwisetselectNullMethodZeroSubsttselectNullMethodMeanSubstRIRNRRft scatterButtonRJRK(RRJRK((RR tdrawScatterControls„s,   c s-tˆƒˆ_tˆiddƒˆ_tˆiddƒˆ_ˆiiddddƒˆiid‡d †ƒˆiiddddƒˆiid‡d †ƒtt ˆi i ƒt ˆi i ƒƒˆidcsˆiidƒS(NsÞPearsons Coefficient measures how strongly related two variables are. Positive values indicate direct correlation while negative values indicate inverse correlation. Values with a magnitude above 0.5 are quite significant.(RRR(R (R(R R!£scsˆiidƒS(NsÞPearsons Coefficient measures how strongly related two variables are. Positive values indicate direct correlation while negative values indicate inverse correlation. Values with a magnitude above 0.5 are quite significant.(RRR(R (R(R R!¦sRVRWR^R_R`csˆiidƒS(NsÞPearsons Coefficient measures how strongly related two variables are. Positive values indicate direct correlation while negative values indicate inverse correlation. Values with a magnitude above 0.5 are quite significant.(RRR(R (R(R R!¬s(RaRt pearsonsFrameR"t pearsonsLBLt pearsonsDispRIRNtPearsonCorrelationt zeroSubstRRpRRcRJRK(RRJRK((RR tdrawCorrelationFramežs.  %c sÓ‡d†}tˆƒˆ_dˆidcsˆiidƒS(Ns=Zero any record where either entry contains non-numeric data.(RRR(R (R(R R!ÜsicsˆiidƒS(Ns\Set any record where either entry contains non-numeric data to the mean of the numeric data.(RRR(R (R(R R!ÞssSum Variables (Use Listbox)RRsNew Variable NameitpadycsˆiidƒS(NsMThe name entered here will be used for variables created by the 'sum' button.(RRR(R (R(R R!æsicsˆiidƒS(NsUCreate a new variable by summing the values of the variables selected in the listbox.(RRR(R (R(R R!èsRR_R`R^iÈ(R–RaRtSumFrameRcRRRŠRstselectSumNullMethodZeroSubsttselectSumNullMethodMeanSubstRIRNRRft sumButtonR‘Rdt sumNewNameRJRK(RRJRKR–((RR tcreateSumFrame¯s0     c s\tˆƒˆ_dˆidcsˆiidƒS(NsEnter text or number to find(RRR(R (R(R R!ñssWith:i csˆiidƒS(Ns2Enter text or number to insert, or insert the mean(RRR(R (R(R R!ôsRRcsˆiidƒS(NsEnter text or number to find(RRR(R (R(R R!øscsˆiidƒS(Ns2Enter text or number to insert, or insert the mean(RRR(R (R(R R!üss--->RRktStringicsˆiidƒS(NsEnter text or number to find(RRR(R (R(R R!sRni csˆiidƒS(NsReplace values with the mean(RRR(R (R(R R!ssIn ARcs1ˆiˆiiƒˆiiƒˆiiƒdƒS(NR(Rtreplt replaceVarRt withTextVarRY((R(R R!si csˆiidƒS(Ns!Perform replacement in variable A(RRR(R (R(R R! ssIn Bcs1ˆiˆiiƒˆiiƒˆiiƒdƒS(NR(RRŸR RR¡R]((R(R R! scsˆiidƒS(Ns!Perform replacement in variable B(RRR(R (R(R R!ssIn Many (Use Listbox)cs"ˆiˆiiƒˆiiƒƒS(N(RtreplManyR RR¡((R(R R!scsˆiidƒS(Ns<Perform replacement in all variables selected in the listbox(RRR(R (R(R R!sR^iRQR_R`(RaRt replFrameRcR"t replaceLBLRIRNtwithLBLRRR Rdt replaceEntryR¡t withEntryt withRadioVarRst withStrRadiot withMeanRadioRRftinAtinBtinManyRJRK(RRJRK((RR tcreateReplaceFrameësL     ''csjtˆƒˆ_dˆidcsˆiidƒS(Ns"Quantize any histograms displayed?(RRR(R (R(R R!!sicsˆiidƒS(Ns"Quantize any histograms displayed?(RRR(R (R(R R!$scsˆiidƒS(Ns4The size of the step to quantize the histogram into.(RRR(R (R(R R!'sR^(RaRtquantHistFrameRct BooleanVartquantHistCheckt Checkbuttont quantHistQR"t quantHistLbltIntVartquantHistStepValRdt quantHistStepRRIRNRJRK(RRJRK((RR t drawQuantHists    ! !cCsÉ|djo¸|ii|ƒodGH|iidƒqÅ|ii|ƒop|i||i|<|ii||i ƒ|i i||i ƒ|i i t|ƒ|i dd|i dcsˆiidƒS(Ns<Draw a histogram of the variable selected in A using Gnuplot(RRR(R (R(R R!“scsˆiidƒS(Ns<Draw a histogram of the variable selected in B using Gnuplot(RRR(R (R(R R!•sR_tEWcsˆiidƒS(NsSelect Variable A(RRR(R (R(R R!§scsˆiidƒS(NsSelect Variable B(RRR(R (R(R R!©siR`((RRUR‰RRRYRRRR\R’R]RÆR“tFloatVarRRRPR®RjRxRRR¹RÁR˜R„tEXTENDEDRRft histButtonAt histButtonBRIRNR”R•tstrRŽR‡RR(RRR‡R((RR t createWidgetsrsT   ) )""   !   cCs+ti||ƒ|iƒ|i|ƒdS(N(RaR RtmasterRIRÕtlists(RR×RÖ((R R ¬s (RRRPRURjRxRRR®R¹RXR[R¢RŸR\RÆRÕtNoneR (((R Rs  S     < +        :(tTkinterRtView_MyFileOpentfilenametView_ScatterplotRotView_HistogramRÎt ControllertModelRRRaR(RÛRRÎRoRR((R t?s