99999久久久久久亚洲,欧美人与禽猛交狂配,高清日韩av在线影院,一个人在线高清免费观看,啦啦啦在线视频免费观看www

熱線電話:13121318867

登錄
首頁(yè)精彩閱讀spss中如何處理極端值、錯(cuò)誤值
spss中如何處理極端值、錯(cuò)誤值
2016-05-18
收藏

spss中如何處理極端值、錯(cuò)誤值

spss中錄入數(shù)據(jù)以后,第一步不是去分析數(shù)據(jù),而是要檢驗(yàn)數(shù)據(jù)是不是有錄入錯(cuò)誤的,是不是有不合常理的數(shù)據(jù),今天我們要做一個(gè)描述性統(tǒng)計(jì),進(jìn)而查看哪些數(shù)據(jù)是不合理的。下面是具體的步驟:
工具/原料
    spss20.0
方法/步驟
    1
    先準(zhǔn)備好數(shù)據(jù),然后打開描述性統(tǒng)計(jì)對(duì)話框,如圖所示,執(zhí)行菜單:analyse--descriptive statistic--descriptive

    2
    將你要檢驗(yàn)的變量放入variables對(duì)話框,點(diǎn)擊箭頭可以添加或者刪除變量

    3
    勾選如圖所示的選項(xiàng),他的意思是輸出Z分?jǐn)?shù),并作為一個(gè)變量列出來(lái)。因?yàn)闄z查數(shù)據(jù)有效性的時(shí)候會(huì)用到Z分?jǐn)?shù)
  
    4

點(diǎn)擊options按鈕,設(shè)置需要輸出的描述性統(tǒng)計(jì)量,我們需要的統(tǒng)計(jì)量主要是最大值和最小值,所以,你看到下面第二幅圖,勾選最大值和最小值


    5
    點(diǎn)擊continue按鈕,點(diǎn)擊ok,開始處理數(shù)據(jù),并輸出處理結(jié)果

    6
    我們看到有一個(gè)表格,輸出了最大值和最小值,根據(jù)這個(gè)值我們可以判斷,這個(gè)變量中的數(shù)據(jù)是不是超出了合理的范圍,比如,這個(gè)變量的意思是身高,你的數(shù)據(jù)的最大值為5米,這時(shí)侯你就可以想到,有數(shù)據(jù)錄入錯(cuò)誤了。

    7

接下來(lái)切換到數(shù)據(jù)視圖中,我們看到生成了一個(gè)新的變量,他是x8這個(gè)變量的Z分?jǐn)?shù),我們知道,如果數(shù)據(jù)是正太分布的,那么數(shù)據(jù)應(yīng)當(dāng)分布在正負(fù)三個(gè)標(biāo)準(zhǔn)差之內(nèi),因此,從圖中我們看到,Z分?jǐn)?shù)大于3或小于-3的數(shù)據(jù)就是錯(cuò)誤的數(shù)據(jù).

數(shù)據(jù)分析咨詢請(qǐng)掃描二維碼

若不方便掃碼,搜微信號(hào):CDAshujufenxi

數(shù)據(jù)分析師資訊
更多

OK
客服在線
立即咨詢
客服在線
立即咨詢
') } function initGt() { var handler = function (captchaObj) { captchaObj.appendTo('#captcha'); captchaObj.onReady(function () { $("#wait").hide(); }).onSuccess(function(){ $('.getcheckcode').removeClass('dis'); $('.getcheckcode').trigger('click'); }); window.captchaObj = captchaObj; }; $('#captcha').show(); $.ajax({ url: "/login/gtstart?t=" + (new Date()).getTime(), // 加隨機(jī)數(shù)防止緩存 type: "get", dataType: "json", success: function (data) { $('#text').hide(); $('#wait').show(); // 調(diào)用 initGeetest 進(jìn)行初始化 // 參數(shù)1:配置參數(shù) // 參數(shù)2:回調(diào),回調(diào)的第一個(gè)參數(shù)驗(yàn)證碼對(duì)象,之后可以使用它調(diào)用相應(yīng)的接口 initGeetest({ // 以下 4 個(gè)配置參數(shù)為必須,不能缺少 gt: data.gt, challenge: data.challenge, offline: !data.success, // 表示用戶后臺(tái)檢測(cè)極驗(yàn)服務(wù)器是否宕機(jī) new_captcha: data.new_captcha, // 用于宕機(jī)時(shí)表示是新驗(yàn)證碼的宕機(jī) product: "float", // 產(chǎn)品形式,包括:float,popup width: "280px", https: true // 更多配置參數(shù)說(shuō)明請(qǐng)參見:http://docs.geetest.com/install/client/web-front/ }, handler); } }); } function codeCutdown() { if(_wait == 0){ //倒計(jì)時(shí)完成 $(".getcheckcode").removeClass('dis').html("重新獲取"); }else{ $(".getcheckcode").addClass('dis').html("重新獲取("+_wait+"s)"); _wait--; setTimeout(function () { codeCutdown(); },1000); } } function inputValidate(ele,telInput) { var oInput = ele; var inputVal = oInput.val(); var oType = ele.attr('data-type'); var oEtag = $('#etag').val(); var oErr = oInput.closest('.form_box').next('.err_txt'); var empTxt = '請(qǐng)輸入'+oInput.attr('placeholder')+'!'; var errTxt = '請(qǐng)輸入正確的'+oInput.attr('placeholder')+'!'; var pattern; if(inputVal==""){ if(!telInput){ errFun(oErr,empTxt); } return false; }else { switch (oType){ case 'login_mobile': pattern = /^1[3456789]\d{9}$/; if(inputVal.length==11) { $.ajax({ url: '/login/checkmobile', type: "post", dataType: "json", data: { mobile: inputVal, etag: oEtag, page_ur: window.location.href, page_referer: document.referrer }, success: function (data) { } }); } break; case 'login_yzm': pattern = /^\d{6}$/; break; } if(oType=='login_mobile'){ } if(!!validateFun(pattern,inputVal)){ errFun(oErr,'') if(telInput){ $('.getcheckcode').removeClass('dis'); } }else { if(!telInput) { errFun(oErr, errTxt); }else { $('.getcheckcode').addClass('dis'); } return false; } } return true; } function errFun(obj,msg) { obj.html(msg); if(msg==''){ $('.login_submit').removeClass('dis'); }else { $('.login_submit').addClass('dis'); } } function validateFun(pat,val) { return pat.test(val); }