數量與決策分析 Spring 2009

Similar documents
untitled

untitled

天 主 教 輔 仁 大 學 社 會 學 系 學 士 論 文 小 別 勝 新 婚? 久 別 要 離 婚? 影 響 遠 距 家 庭 婚 姻 感 情 因 素 之 探 討 Separate marital relations are getting better or getting worse? -Exp

<4D F736F F D B14DA7DEB0AAA6D2AAC0A475AE76312DAAC0B77CA475A740ACE3A873A4E8AA6B>

《儿童少年卫生学》教学大纲

(baking powder) 1 ( ) ( ) 1 10g g (two level design, D-optimal) 32 1/2 fraction Two Level Fractional Factorial Design D-Optimal D

Microsoft PowerPoint - NCBA_Cattlemens_College_Darrh_B

Microsoft Word - A doc

untitled

(Microsoft Word - 11-\261i\256m\253i.doc)

Microsoft PowerPoint - ch1_2.ppt

Microsoft Word - TIP006SCH Uni-edit Writing Tip - Presentperfecttenseandpasttenseinyourintroduction readytopublish

Microsoft Word doc

Microsoft Word 谢雯雯.doc

: ( ),,

)

國家圖書館典藏電子全文

spss.doc

<4D F736F F D205F FB942A5CEA668B443C5E9BB73A740B5D8A4E5B8C9A552B1D0A7F75FA6BFB1A4ACFC2E646F63>

untitled

國 史 館 館 刊 第 23 期 Chiang Ching-kuo s Educational Innovation in Southern Jiangxi and Its Effects ( ) Abstract Wen-yuan Chu * Chiang Ching-kuo wa

新 竹 縣 教 育 研 究 集 刊 第 十 一 期 民 100 年 12 月 Guo,Na-Yi Teacher of Chu-Bei Elementary School Abstract The purpose of this action research was to examine the

K301Q-D VRT中英文说明书141009

- I -

建築工程品質管理案例研討

5 1 linear 5 circular ~ ~

Microsoft Word - p11.doc

(Microsoft PowerPoint - 25\272\330\262\316\255p\244\350\252k\257\265\247\3361_Ruth.ppt)

國立中山大學學位典藏

mm ~

Microsoft PowerPoint - STU_EC_Ch08.ppt

Avision

Analysis of Cultural Elements of Meinong s Paper Umbrella Painting Abstract Meinong paper umbrellas are a traditional industrial art for the Hakka peo

Preface This guide is intended to standardize the use of the WeChat brand and ensure the brand's integrity and consistency. The guide applies to all d

Shanghai International Studies University THE STUDY AND PRACTICE OF SITUATIONAL LANGUAGE TEACHING OF ADVERB AT BEGINNING AND INTERMEDIATE LEVEL A Thes

Journal of Curriculum Studies September, 2013, Vol. 8, No. 2, pp A Study of the Relationship between Senior High School Curriculum and the Mult

<4D F736F F D20A46AA4AFACECA7DEA46ABEC7B1D0AE76ACE3A873AD70B565A6A8AA47B3F8A769A4AFACE >

國立屏東教育大學碩士班研究生共同修業要點

前 言 一 場 交 換 學 生 的 夢, 夢 想 不 只 是 敢 夢, 而 是 也 要 敢 去 實 踐 為 期 一 年 的 交 換 學 生 生 涯, 說 長 不 長, 說 短 不 短 再 長 的 路, 一 步 步 也 能 走 完 ; 再 短 的 路, 不 踏 出 起 步 就 無 法 到 達 這 次

Vocabulary Development in Armenian Children Attending Armenian-English Bilingual Preschools

第 一 节 科 研 设 计 的 主 要 内 容 确 定 研 究 对 象 设 对 照 组 随 机 分 组 确 定 观 察 指 标 2

~ a 3 h NCEP ~ 24 3 ~ ~ 8 9 ~ km m ~ 500 m 500 ~ 800 m 800 ~ m a 200

% 30% % % % %

TI 3 TI TABLE 4 RANDBIN Research of Modern Basic Education

SHIMPO_表1-表4

PowerPoint Presentation

Stochastic Processes (XI) Hanjun Zhang School of Mathematics and Computational Science, Xiangtan University 508 YiFu Lou talk 06/

SHIMPO_表1-表4

Corporate Social Responsibility CSR CSR CSR 1 2 ~ CSR 6 CSR 7 CSR 8 CSR 9 10 ~ CSR 14 CSR CSR 2013 A A 23.

<4D F736F F D20BEDBC9B3B3C9CBFEA1AAA1AAC9CCBDADBDCCD3FDCEC4BCAF20A3A8D6D0A3A92E646F63>

投影片 1

天 主 教 輔 仁 大 學 社 會 學 系 學 士 論 文 百 善 孝 為 先? 奉 養 父 母 與 接 受 子 女 奉 養 之 態 度 及 影 響 因 素 : 跨 時 趨 勢 分 析 Changes in attitude toward adult children's responsibilit

Microsoft Word - 上傳電子檔.doc

1 引言

240 生 异 性 相 吸 的 异 性 效 应 [6] 虽 然, 心 理 学 基 础 研 [7-8] 究 已 经 证 实 存 在 异 性 相 吸 异 性 相 吸 是 否 存 在 于 名 字 认 知 识 别 尚 无 报 道 本 实 验 选 取 不 同 性 别 的 名 字 作 为 刺 激 材 料, 通


材 料 与 方 法 仪 器 ACQUITY UPLC Xevo TQ-S 三 重 四 级 杆 液 质 联 用 仪 ( 美 国 Waters 公 司 ); 电 喷 雾 离 子 源 (ESI), Masslynx 4.1 数 据 处 理 系 统 (Waters);Thermo 低 温 离 心 机 ;KQ

% % 34

BC04 Module_antenna__ doc

Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc

吴 郁 玲 等 : 农 户 对 宅 基 地 使 用 权 确 权 效 应 的 认 知 研 究 以 武 汉 市 为 例 29 the paper tried to provide a basis to improve the confirmation policy efficiency and to f


唐彪《讀書作文譜》述略

東吳大學

( )

從詩歌的鑒賞談生命價值的建構


L L L-1 L-1 L-1 L-1 L-1 L-2 L-1 L-1 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-3 L-3 L-3 L-3 L-2 L-2 L-2 L-2 L

2017 CCAFL Chinese in Context

中 國 學 研 究 期 刊 泰 國 農 業 大 學 บ นทอนเช นก น และส งผลก บการด ดแปลงจากวรรณกรรมมาเป นบทภาพยนตร และบทละคร โทรท ศน ด วยเช นก น จากการเคารพวรรณกรรมต นฉบ บเป นหล

Microsoft Word - 04-內文-02.doc

coverage2.ppt

The Relationship between General Education and Civil Service Exams: An Example of Constitution-Teaching. Shian-Mou Liau Abstract In 2010, the total nu

( )

Microsoft Word - 11月電子報1130.doc

Z-I A b Z-I A b Z Z-I A A b Z-I Miller [5] Z i I i Z-I [6] Z-I Z-I Z-I Z-I Z I Wilson [7] 1970 [8] [9] 20.32% Sasaki [10] Nino- miya [11] [12]

(2005 (2006, (2006 ( , ( ,,,,,, ( (ASFR ASFR : x, B x x, P f x x (1 (2 4,, , 2 1 :, 1 2, 20-29

國立中山大學學位論文典藏

Vol. 15 No. 1 JOURNAL OF HARBIN UNIVERSITY OF SCIENCE AND TECHNOLOGY Feb O21 A

第1章 簡介

Microsoft Word - D-2°w¶Ë¬ì¹ï¤U�Iµh®{¤âÀˬd¬yµ{_¬x°ö�×__P _.doc

ENGG1410-F Tutorial 6

敘述統計概論

PowerPoint Presentation

Microsoft Word - 01李惠玲ok.doc

國立中山大學學位論文典藏.PDF

课题调查对象:

國家圖書館典藏電子全文

Microsoft Word - ch 01+

考試學刊第10期-內文.indd

Microsoft PowerPoint _代工實例-1

第一章合成.ppt

Microsoft Word - 09王充人性論_確定版980317_.doc


國立中山大學學位論文典藏.PDF

STEAM STEAM STEAM ( ) STEAM STEAM ( ) 1977 [13] [10] STEM STEM 2. [11] [14] ( )STEAM [15] [16] STEAM [12] ( ) STEAM STEAM [17] STEAM STEAM STEA

Microsoft Word doc

13-4-Cover-1

國家圖書館典藏電子全文


Transcription:

商業數量方法 Summer 2013 授課教師 : 統計系余清祥日期 :2013 年 7 月 1 日第一週 : 資料與基本分析課程下載 : http://csyue.nccu.edu.tw

基本資料分析的目的 資料偵錯 資料輸入錯誤 尋找可能的離群值 初步探索資料的特性 資料的集中 散佈趨勢 驗證已知的結果 是否與已知的結果相同?

Types of Data( 資料類型 ) Numerical data Qualitative Data Types Quantitative Levels of Nominal Ordinal Interval Ratio Measurement Discrete Discrete or continuous

資料類型將直接影響分析方法的選取, 並非所有資料都適合常見的統計方法, 任意使用分析方法可能會得出令人啼笑皆非的結果 已知 A > B, B > C 是否代表 A > C? 甲城市乙城市丙城市 A 候選人 1 2 3 B 候選人 2 3 1 C 候選人 3 1 2 註 :1 代表最喜歡,3 代表最不喜歡

Nominal( 名義 ) Data are labels or names used to identify an attribute of the element.( 數字只供標示之用, 無大小的差異!) A nonnumeric label or a numeric code may be used.

Nominal Example: Students of a university are classified by the school in which they are enrolled using a nonnumeric label such as Business, Humanities, Education, and so on. Alternatively, a numeric code could be used for the school variable (e.g. 1 denotes Business, 2 denotes Humanities, 3 denotes Education, and so on).

Ordinal( 順序 ) The data have the properties of nominal data and the order or rank of the data is meaningful.( 任兩數字可比較大小, 但相對差異不見得可相加或相乘!) A nonnumeric label or a numeric code may be used.

Ordinal Example Students of a university are classified by their class standing using a nonnumeric label such as Freshman, Sophomore, Junior, or Senior. Alternatively, a numeric code could be used for the class standing variable (e.g. 1 denotes Freshman, 2 denotes Sophomore, and so on).

Interval The data have the properties of ordinal data and the interval between observations is expressed in terms of a fixed unit of measure. ( 數字間的差異可比較, 但不見得有絕對的 0!) Interval data are always numeric.

Interval Example: Melissa has an SAT score of 1205, while Kevin has an SAT score of 1090. Melissa scored 115 points more than Kevin.

Ratio The data have all the properties of interval data and the ratio of two values is meaningful. ( 這就是日常生活中使用的數字, 有絕對的 0 以及大小順序的差異!) Variables such as distance, height, weight, and time use the ratio scale. This scale must contain a zero value that indicates that nothing exists for the variable at the zero point.

Ratio Example: Melissa s college record shows 36 credit hours earned, while Kevin s record shows 72 credit hours earned. Kevin has twice as many credit hours earned as Melissa.

資料類型範例 ( 氣象局 ): Nominal: 天氣晴朗程度 晴 多雲 陰天 ; 衛星雲圖 色調表示密度不同的雲雨區 ( 雨量表示圖也類似 ) Ordinal: 颱風強度 輕度 ( 每秒 17.2 至 32.6 公尺 ) 中度 ( 或每秒 32.7 至 50.9 公 ) 強烈 ( 每秒 51.0 公尺以上 ); 豪雨分級 大雨 (50 公釐 ) 豪雨 (130 公釐 ) 大豪雨 (200 公釐 ) 超大豪雨 (350 公釐 )

資料類型範例 ( 續 ) Interval: 水庫水位 例如 : 翡翠水庫嚴重下限 120 公尺 最高水位 170 公尺 ; 地震強度 5 及地震比 4 級地震多一級, 但強度為 10 倍 Ratio: 雨量多寡 ( 公釐 ); 風力強度 ( 公尺 / 秒 )

Qualitative and Quantitative Data Data can be further classified as being qualitative or quantitative. The statistical analysis that is appropriate depends on whether the data for the variable are qualitative or quantitative. In general, there are more alternatives for statistical analysis when the data are quantitative.

Qualitative Data Qualitative data are labels or names used to identify an attribute of each element. Qualitative data use either the nominal or ordinal scale of measurement. Qualitative data can be either numeric or nonnumeric. The statistical analysis for qualitative data are rather limited.

Quantitative Data Quantitative data indicate either how many or how much. Quantitative data that measure how many are discrete. Quantitative data that measure how much are continuous because there is no separation between the possible values for the data.. Quantitative data are always numeric. Ordinary arithmetic operations are meaningful only with quantitative data.

問卷資料範例 : 請問您本次購買的機車是 什麼廠牌 汽缸大小 c.c. 請問您打算幾年後換購新機車? 1. 1 年以下 2. 1~2 年 3. 3~4 年 4. 5 年以上 5. 其他 ( 請說明 ) 請問您對本郵局的滿意程度為何? 1. 不滿意 2. 普通 3. 滿意 請問您對本郵局的滿意程度為何? 1. 非常不滿意 2. 不滿意 3. 普通 4. 滿意 5. 非常滿意

資料蒐集的方式 一般將資料蒐集分類成 : 1. 實驗設計 (Experimental Design) 包括臨床試驗 (Clinical Trials), 需要較精密計畫, 一般分成實驗 對照組, 較適合用於推論因果關係的研究 2. 抽樣調查 (Sampling Survey) 設計問卷, 藉由調查取得資訊 目標 : 藉由蒐集的資料推得訊息

另一種常見的資料來源分類, 是依據資料產生分成 : 1. 實驗設計 (Experimental Design) 2. 觀察研究 (Observational Study) 兩者的差異在於資料蒐集者的參與, 蒐集資料並不影響觀察研究, 像是研究股市 利率 房地產價格, 與實驗設計控制變因獲得觀察值不同 註 : 參考 Wikipedia 及臨床實驗講義

實驗組 處理 ; 處方 對照組 安慰劑 (Placebo) 單盲與雙盲實驗 : 單盲 : 只有受試者不知道自己的處方 雙盲 : 醫生與受試者都不知道處方的分配方式

若以時間來區分, 資料可分成 : 1. 縱向資料 (Longitudinal Data) 2. 橫向資料 (Cross-sectional Data) 縱向資料又稱為長期追蹤 (Panel) 資料, 研究對象為固定個體, 研究的特色在於可觀察相同個體因時間而有的變動, 也稱為世代 (Cohort) 資料 橫向資料固定一個時間點, 對當時的母體蒐集資料, 在不同時間點獲得的資料不見得可互相比較, 註 : 國內外較知名的縱向資料包括 華人家庭動態研究 與 PSID(Panel Study of Income Dynamics )

基本資料分析的可能項目 確定資料屬性 ( 計質或計量 ) 資料如何分析及整理 (e.g., 圖表 ) 計質資料先決定總共有幾類 比例 ; 計量資料可考慮計算集中 散佈趨勢 根據問題驗證資料特性 若為迴歸分析, 考慮變數間的關聯 問題 : 為什麼需要確定資料為常態分配, 或是有可能的離群值?

集中趨勢量數 平均數 (Mean; 期望值 ) 算術平均數 (Average); 加權平均數 (Weighted Average); 其他 ( 幾何平均數 調合平均數 ) 中位數 (Median): 一半的數值比中位數大, 一半的數值比中位數小 眾數 (Mode): 出現次數最多的數值

集中趨勢量數 ( 範例 ) 員工薪資為 25, 30, 30, 30, 35, 43, 70, 80, 85 中位數是 35 25, 30, 30, 30, 35, 43, 70, 80, 85, 90 中位數是 35 + 43 = 39 2 員工薪資為 25, 30, 30, 30, 35, 43, 70, 80, 85 眾數是 30 25, 30, 30, 35, 38, 43, 43, 80, 85 眾數是 30 及 43( 眾數不唯一 )

差異量數 全距 (Range): 最大與最小數值之差 (Range = Max-Min) 四分位差 (Quartile Deviation): 四分位數 (Quartile;Q 1 ): 3/4 的數值比大 Q 1, 1/4 的數值比 Q 1 小 四分位差 = Q 3 Q 1 變異數 (Variance; σ 2 ) 與標準差 (Standard Deviation;σ)

問卷分析範例 以表格 圖形展示資料更有效果! 長條圖 (Bar Chart) 選項人數百分比現代化連鎖餐飲店有什麼吸引你的地方 1 簡便快速 153 38.25 其它 5.75% 2 食物 89 22.25 3 環境因素 135 33.75 4 其它 23 5.75 N= 400 環境因素 33.75% 食物 22.25% 簡便快速 38.25% 0.00% 10.00% 20.00% 30.00% 40.00% 50.00% 60.00% 70.00%

平均數與中位數 左偏 (Left-skewed): 當少數觀察明顯值較一般觀察值小時 ( 如下圖 ), 平均數將被這些觀察值拉下, 但中位數較不受影響, 此時中位數大於平均數 同理, 少數觀察值較大時則稱為右偏 (Right-skewed) 50 Histogram of Data 40 Frequency 30 20 10 0-4 -3-2 -1 Data 0 1 2

如何藉由統計獲取資訊? 如果想瞭解民國 94 年指定考試各科的特性, 可以藉助哪些工具? 例如 : 那一科的分數最不平均, 像是哪一科大多數人都考得不好, 只有少數人分數分高 平均數明顯大於中位數, 稱為右偏 (skewed to the right); 反之, 若平均數明顯小於中位數, 稱為右偏 (skewed to the left) 平均數等於中位數, 則為兩側對稱

Frequency 0 5000 10000 15000 國文 Frequency 0 2000 4000 6000 8000 英文 Frequency 0 1000 2000 3000 4000 5000 數學甲 0 20 40 60 80 0 20 40 60 80 100 0 20 40 60 80 100 x1 x2 x3 數學乙 化學 物理 Frequency 0 2000 6000 10000 Frequency 0 1000 2000 3000 4000 Frequency 0 1000 3000 5000 0 20 40 60 80 100 0 20 40 60 80 100 0 20 40 60 80 100 x4 x5 x6 生物 歷史 地理 Frequency 0 500 1500 2500 3500 Frequency 0 1000 3000 5000 Frequency 0 2000 4000 6000 0 20 40 60 80 100 0 20 40 60 80 0 20 40 60 80 x7 x8 x9