• 沒有找到結果。

This study makes two main contributions: firstly, it provides an improved Hybrid AHP, which not only improves the reliability of the traditional AHP approach but also mitigates the subjective bias of connotation in expert questionnaires, and secondly, it provides an insight into what criteria are used to evaluate electronics assembly-type manufacturing investments in China, and where, if we take the four major factors into account, the preferred site for such investments is to be found. Our research identified the following key criteria: tax incentives (TAI) (Economic factor), policy uncertainty (POU) (Political factor), position in supply chain (SCP) (Cluster effect factor), and infrastructure readiness (IFS) and local government rapid response ability (GQA) (Government bureaucracy). The preferred site for Taiwanese assembly manufacturers to make manufacturing investments is eastern China, which covers Jiangsu, Zhejiang, and Shanghai. This conclusion is consistent with the 2007 Taiwanese government sta-tistics (see Table 2).

We further made detailed analysis of the list of Taiwan’s top 1,000 manufacturers in 2007 and found that there were 179 electronics related manufacturing enterprises lo-cated in the south, 197 lolo-cated in the east, 3 lolo-cated in the centre, and 13 lolo-cated in the north of China. This enhances our findings. The Shenzhen Special Economic Zone was the first coastal area in China opened to foreign investors, especially to Hong Kongese, Japanese, and Taiwanese enterprises. With the advantage of geographical proximity to Hong Kong, and the special consignment contract manufacturing busi-ness model to rely on, the southern region easily absorbed a large number of foreign manufacturing businesses. Due to hinterland development limitations in the south, the eastern region had a greater opportunity to attract large-scale foreign investors than the south. When large scale manufacturers move, overall supply chain vendors also move. Here, the central government used more resources to attract companies and help them develop.

The eastern region, especially Shanghai, is the focus of the central government. Un-doubtedly, foreign enterprises prefer to locate here where they enjoy certain policies and administrative advantages. In addition to enjoying government policies viewed as favorable to business, the eastern region has a vast plain of land that can fully meet any manufacturing enterprise expansion requirements. Having enough territory has facilitated the formation of industry clusters. This is a very important reason for es-tablishing manufacturing sites in the eastern region.

The purpose of Taiwanese electronics assembly manufacturers making investment in China is to fully take advantage of cheaper labor costs and to make profits. The posi-tion of most assembly type enterprises in China is factories. Therefore, its major func-tion to the mother company is cost contribufunc-tion. In Table 17, we can see that most sampled companies’ contribution margin to standalone margin is positive, which means that factories in China have a cost advantage. In Table 18, from return on in-vestment (ROI) perspectives, we can see that most sampled companies’ ROI is very high. For factories, we defined return as from the margin contribution perspective. In Table 19, we can see sampled companies’ investment amount in China is in an up-trend direction, meaning that they do have a margin contribution.

Table 17 Margin Analysis

STD M% Con M% (+/-)% STD M% Con M% (+/-)% STD M% Con M% (+/-)%

5371 Coretronic Corp 10.33% 13.19% 27.68% 10.67% 13.56% 27.04% 8.93% 12.75% 42.81%

3380 Alpha netwok 17.54% 18.50% 5.46% 15.60% 16.13% 3.37% 17.83% 18.12% 1.63%

2340 OptoTech Corp 16.43% 16.55% 0.73% 32.31% 31.03% -3.96% 29.70% 28.93% -2.61%

2391 ZyXEL Communications 30.36% 34.17% 12.55% 26.13% 29.25% 11.94% 24.52% 31.86% 29.97%

2449 King Yuan Electronics 18.84% 18.59% -1.34% 30.20% 29.11% -3.63% 25.47% 23.63% -7.23%

2352 BENQ 5.31% 8.39% 57.96% 2.72% 8.16% 199.79% 1.75% 9.25% 428.54%

6133 Golden Bridge Bectech 18.96% 28.35% 49.52% 22.61% 30.12% 33.18% 23.61% 25.51% 8.04%

2380 Avision Inc 25.63% 27.21% 6.15% 19.49% 22.75% 16.70% 19.91% 23.84% 19.73%

2345 Accton Tech 16.80% 18.18% 8.18% 13.66% 18.64% 36.44% 12.93% 18.59% 43.73%

3059 Altek Corp 8.32% 14.03% 68.64% 14.21% 17.67% 24.36% 7.40% 12.04% 62.60%

3231 Wistron Corp 5.96% 6.42% 7.80% 6.44% 6.67% 3.57% 5.31% 6.40% 20.57%

3290 Donpon Precision 16.36% 10.79% -34.04% 19.55% 15.67% -19.83% 12.18% 24.44% 100.59%

2382 Quanta Computer 5.91% 6.07% 2.62% 4.63% 5.66% 22.23% 3.68% 5.18% 40.90%

2317 Hon Hai Precision 5.72% 10.34% 80.65% 5.47% 9.89% 80.91% 4.78% 9.84% 105.90%

STD M%: Standalone margin; Con M%: Consolidated margin

2005 2006 2007

Stock Market

listed code Company name

Table 18 Return on investment

2006 (+/-)%

5371 Coretronic Corp 104.56% 122.79% 124.44% 1.34%

3380 Alpha netwok 29.07% 27.29% 31.18% 14.26%

2340 OptoTech Corp 12.53% 23.55% 10.68% -54.67%

2391 ZyXEL Communications 108.87% 135.63% 156.65% 15.49%

2449 King Yuan Electronics 2.99% 0.38% -1.93% -613.01%

2352 BENQ 128.62% 196.99% 184.74% -6.22%

6133 Golden Bridge Bectech 63.46% 99.36% 75.40% -24.11%

2380 Avision Inc 10.15% 19.32% 24.03% 24.41%

2345 Accton Tech 79.99% 115.62% 70.81% -38.75%

3059 Altek Corp 100.46% 102.55% 81.57% -20.45%

3231 Wistron Corp 27.82% 12.43% 60.29% 384.90%

3290 Donpon Precision 5.03% 16.71% 81.22% 386.18%

2382 Quanta Computer 123.31% 127.77% 109.90% -13.98%

2317 Hon Hai Precision 141.67% 234.92% 314.73% 33.97%

Formula: (consolidated margin - standard margin) / investment Stock Market 2007

listed code Company name 2005 2006

Table 19 Amount investment in China

2006 (+/-)%

5371 Coretronic Corp 3,174 4,035 4,930 22.20%

3380 Alpha netwok 593 827 1,150 39.01%

2340 OptoTech Corp 553 553 1,205 117.85%

2391 ZyXEL Communications 864 868 1,101 26.88%

2449 King Yuan Electronics 1,570 1,885 1,875 -0.51%

2352 BENQ 6,392 7,610 7,227 -5.03%

6133 Golden Bridge Bectech 313 313 313 0.00%

2380 Avision Inc 977 1,026 1,191 16.09%

2345 Accton Tech 1,255 1,284 1,690 31.56%

3059 Altek Corp 1,045 1,653 1,888 14.21%

3231 Wistron Corp 4,848 5,483 6,066 10.62%

3290 Donpon Precision 352 344 350 1.99%

2382 Quanta Computer 4,250 7,089 12,146 71.33%

2317 Hon Hai Precision 42,022 34,469 34,469 0.00%

Unit: NT$ Million

Company name 2005 2006 2007

Stock Market listed code

Based on previous findings, we know that policy uncertainty is more important than information transparency. Policy uncertainty means that there are no clear policies, or that the policies are liable to change. Although China has reformed and liberalized over the last three decades, the economic and legal systems are still not well

estab-not. The most difficult issue for enterprises regarding policy change is its unpredicta-bility. Without clear policy guidance, it is very difficult for enterprises to make global strategic arrangements in advance. For instance, initially, the eastern region encour-aged heavy industry. However, due to industry policy change, the Shanghai govern-ment has already stipulated that certain heavily energy-dependent industries will be banned from the Shanghai area in the future. This rejection will probably end up creating opportunities for other areas, and may further affect investment in such fields as semi-conductors and the packing industry. With a highly developed economy, energy demand is increasing rapidly. Due to demand far exceeding supply, energy shortages are becoming a serious problem. This problem has recently been getting worse in the south and the east. Most manufacturers in both areas have suffered cost increases due to losses resulting from energy shortages.

In addition to energy shortages, China recently adjusted its export tax refund rate downward which is creating serious damage for those slim margin industries such as the textile and electronics component businesses. Export refund tax rate has been ad-justed from 13% to 4%, depending on the industry. Meanwhile, the corporate income tax rate will be raised to 25% which is the same as Taiwan’s, and its dividend tax rate will also be raised to 20% from 0%. Even though there is a transition period, most profitable foreign businesses have commenced to restructure their equity holding structure from the British Virgin Islands (B.V.I) to HK or Singapore for tax-saving purposes. The tax rate for HK and Singapore businesses is different because HK is a Special Administrative Region of China.

In the past three decades, China attracted foreign investment successfully with its cheaper labor costs. However, the stage of using cheaper costs to attract foreign direct investment is complete. The Chinese government is now changing its role from world factory to world market. A world market requires that people’s incomes increase. In the past three decades, China has successfully earned a huge foreign surplus of around USD 2.0 trillion through capacity investment. However, the annual average income of the large middle-class of workers and farmers’ on the basis of purchasing power pari-ty calculations is still below USD5,400. The middle-class population is around four hundred million. If the income of the middle-class can be increased, a world market can be formed through their consumption. To achieve this goal, the Chinese govern-ment has released a new labor contract law. In this newly released law, salaries, ser-vice period, and serser-vice conditions are well protected, which will greatly increase manufacturer’s labor costs. To those enterprises which take full advantage of the cheaper labor costs, business operation reaches a critical point when labor contract law is actually being put into practice.

An effective, forward-thinking policy will attract local and foreign investors, and will prompt them to continue investing. An effective policy takes into account the economic, political, industrial, administrative and social ramifications of policy deci-sions. A state, a region or country that supports continuous investments will stimulate ongoing economic growth. In this research, we did not attempt to compare the region-al policies of the southern region with those of the eastern region. Future studies could clarify if they had a role in manufacturing moving from the south to the east.

In order to completely reflect operation environment change, we have raised some critical issues which have already happened, such as corporate income tax rate in-creases, dividend tax upward adjustments, export tax refund rate downward adjust-ments, labor service contracts, Chinese currency appreciation, and energy shortages.

These issues will seriously damage manufacturing business profits. We need to make an in-depth observation of the influence of these policies. Future studies could clarify whether these issues will impact manufacturing business operation decisions in China and further make operation withdrawal decisions if the whole operating environment is deteriorating. Meanwhile, further research into the influence of policies on invest-ment attitudes could result in a better understanding of this phenomenon.

References

黑田篤郎 著,宋昭儀、李弘元 譯,2002,中國製造: 揭開世界工廠的真相,經 濟新潮社出版,台北,p83-152。

張家銘 著,2006,台商在蘇州: 全球化與在地化的考察,桂冠圖書公司出版,

台北,p132-158。

Aliber, R.Z. (1970). A Theory of Direct Foreign Investment. In: C.P. Kindleberger (ed.), The International Corporation, A Symposium. Cambridge: MIT Press, p.17-34.

Aristotelous, K. and Fountas, S. (1996). An Empirical Analysis of Inward Foreign Direct Investment Flows in the EU with Emphasis on the Market Enlargement Hypothesis. Journal of Common Market Studies, 34(4), p. 571-583.

Arpan, J.S. and Ricks, D. A. (1975). Directory of foreign manufacturers in the United States. Atlanta: Georgia State University Publishing Services Divisions.

Arpan, J.S., Flowers, E.B. and Ricks, D.A. (1981). Foreign Direct Investment in the United States: The State of Knowledge in Research. Journal of International Business Studies, 19(1), p. 137-154.

Bartik, T.J. (1985). Business Location Decisions in the United States: Estimates of the Effects of Unionization, Taxes, and Other Characteristics of States. Journal of Business and Economic Statistics, 3(1), p.14-22.

Benito, G.R.G. (1996). Ownership Structures of Norwegian Foreign Subsidiaries in Manufacturing. International Trade Journal, 10(2), p.157-98.

Brewer, T.L. (1993). Government Policies, Market Imperfections, and Foreign Direct Investment. Journal of International Business Studies, 24(1), p.101-120.

Carlson, V. (2000). Studying Firm Locations: Survey responses vs. Econometric

Models. The Journal of Regional Analysis and Policy, 30(1), p.1-22.

Coughlin, C. C., Terza, J. V. and Arromdee, V. (1991). State characteristics and the location of foreign direct investment within the United States. Review of Eco-nomics and Statistics, 73(4), p,657–683.

Culem, C.G. (1988). he Locational Determinants of Direct Investment among Indu-strialised Countries. Europe Economic Review, 32(4), p.885-904.

Daniels, J.D. (1970). Recent Foreign Direct Manufacturing Investment in the United States. Journal of International Business Studies, 1(1), p.125-132.

Davis, L. and William, G. (1994). Evaluating and selecting simulation software using the analytic hierarchy process. Integrated Manufacturing Systems, 5(1), p.23–32.

Doeringer, P., Evans-Klock, C. and Terkla, D. (2004). What Attracts High Perfor-mance Factories? Regional Science and Urban Economics, 34(5), p.519-618.

Dunning, J.H. (1988). The Eclectic Paradigm of International Production: A Restate-ment and some Possible Extensions. Journal of International Business Studies, 19(1), p. 1-13.

Fatehi-sedeh, K. and Safizadeh, H.M. (1989). The Association between Political in Stability and Flow of Foreign Direct Investment. Management International Review, 29(4), p. 4-13.

Formica, S. (1996). Political Risk Analysis in Relation to Foreign Direct Investment:

A View from the Hospitality Industry. The Tourist Review, 51(4), p. 15-23.

Fowles, J. (1978). Handbook of Futures Research. Westport, CT: Greenwood Press.

Franko, L.G. (1975). Patterns in the Multinational Spread of Continental European Enterprise. Journal of International Business Studies, 6(2), p. 41-53.

Friedman, J., Gerlowski, D. A. and Silberman J. (1992). What attracts foreign multi-national corporations? Evidence from branch plant locations in the United States. Journal of Regional Science, 32( 4), p.403–418.

Glickman, N.J. and Woodward, D.P. (1988). The Location of Foreign Direct Invest-ment in the United States: Patterns and Determinant. International Regional Science Review, 11(2), p.137-154.

Harold A.L. and Murray T. (2002). The Delphi Method: Techniques and Applications.

Available on line: http://is.njit.edu/pubs/delphibook/

Hatzius, J. (1997). Domestic Jobs and Foreign Wages: Labour Demand in Swedish Multinationals, CEP Discussion Papers 0337, Centre for Economic

Perfor-mance, LSE.

He, C. (2002). Information Costs, Agglomeration Economies and the Location of Di-rect Investment in China. Regional Studies, 36(9). p. 1029-1036.

Head, K., Ries, J. and Swenson D. (1995). Agglomeration Benefits and Location Choice: Evidence from Japanese Manufacturing Investments in the United States. Journal of International Economics, 38, p. 223-247.

Hill, S. and Munday, M. (1991). The Determinants of Inward Investment: a Welsh analysis. Applied Economics, 54, p. 258-266.

Hong, J.H., Jones, P. and Song, H. (1999). Political Risk and Foreign Investment De-cisions of International Hotel Companies. First Pan-American

Confe-rence— Latin American Tourism in the Next Millennium: Education, Invest-ment and Sustainability, Panama.

Hsu,C.C. and Sandford, B.A.(2007). The Delphi Technique: Making Sense of Con-sensus. Practical Assessment Research & Evaluation, 12(10). Available on line:

http://pareonline.net/pdf/v12n10.pdf

Jiang, F. (2004). Sequence of FDI Entry Mode Decision Making Process: New Evi-dence from Multinational Pharmaceutical Firms' FDI into China. Journal of the Academy of Business and Economics, 3(1), p. 152-165.

Keng, C.W. (2002). China Regional Economic Development, Linking Books Co., Taipei, Taiwan.

Kenney, M and Florida, R. (1993). Beyond Mass Production: The Japanese Lean System and Its Transfer to the U.S. Oxford: Oxford University Press

Kim, W. S. and Lyn, E. O. (1988). Foreign direct investment theories, entry barriers, and reverse investments in US manufacturing industries. Journal of Interna-tional Business Studies, 18(2), p.53–66.

Kindleberger, C.P. (1965). Balance of Payments Deficits and the International Market for Liquidity. Essays in International Finance. Princeton: Princeton University

Press.

Kobrin, S.J. (1979). Political Risk: A Review and Reconsideration. Journal of Inter-national Business Studies, 10, p. 67-80.

Kravis, I.B. and Lipsey, R.E. (1982). The Location of Overseas Production and Pro-duction for Exports by US Multinational Firms. Journal of International Eco-nomics, 12(3/4), p.201-223.

Lansbury, M., Pain, N. and Smidkova, K. (1996). Foreign Direct Investment in Cen-tral Europe since 1990: An Econometric Study. National Institute Economic Review, 156, p.104-114.

Linstone, H. A. and Turroff, M. (1975). The Delphi method. Reading, MA: Addi-son-Wesley.

Lo, W., Niu, H.J. and Yang, C. (2008). Site Selection Using Hybird AHP: Evidenc

from Taiwanese Electronics Assembly firms in China. Journal of Asia Pacific Business, 9(3), p.271-291.

Lo, W., Niu, H.J. Yang, C, Wang, Y.D. (2008). Determinants of Location Selection in China: An Examination of Electronic Assembly-Type Enterprises. Journal of Con-temporary Asia. (SSCI, forthcoming)

Ludwig, B. (1997). Predicting the future: Have you considered using the Delphi me-thodology? Journal of Extension, 35(5), p.1–4. Retrieved November 6, 2005, from http://www.joe.org/joe/1997october/tt2.html.

Luger, M. I. and Shetty, S. (1985). Determinants of foreign plant start-ups in the United States: Lessons for policymakers in the Southeast. Vanderbilt Journal of Transnational Law, 18, p.223–243.

Mair, A., Florida, R. and Kenney, M. (1988). The New Geography of Automobile Production: Japanese Transplants in North America. Economic Geography, 64(4), p. 352-373.

Mamat, N. J. Z. and Daniel, J. K. (2007). Statistical analyses on the time complexity and rank consistency between singular value decomposition and the duality ap-proach in AHP: A case study of faculty member selection. Mathematical and Computer Modeling, 46(7/8), p.1099–1106.

McConnell, J. E. (1980). Foreign direct investment in the United States. Annals of the Association of American Geographers, 70(2), 259–270.

Middleton, L. (2001). Literature Review: Tax Abatements and Economic Development Incentives. Technical Report Series, report No. 49, The University of Kansas.

Mockler, R.J., and Dologite, D.G. (1997). Multinational Cross-cultural Management:

an Integrative Context-specific Process. Westport: Quorum Books.

Mudambi, R. (1995). The MNE Investment Location Decisions: Some Empirical

Evidence. Managerial and Decision Economics, 16, p.249-257.National Go-verners Association (2002). http://www.nga.org/cda/files/AM02CLUSTER.pdf Newman, R.J. and Sullivan, D.H. (1988). Econometric Analysis of Business Tax

Im-pacts on Industrial Location: What do We Know, and How Do We Know It.

Journal of Urban Economics, 23(2), p.215-234.

Pelegrín A. (2003). Regional Distribution of Foreign Manufacturing Investment in Spain. Do Agglomeration Economies Matter? EconPapers, working paper.

http://econpapers.repec.org/paper/iebwpaper/

Reid, N. (1989). Spatial Patterns of Japanese Investment in the US Automobile Indus-try. Industrial Relations Journal, 21, p.49-59.

Root, F.R. (1994). Entry Strategies for International Markets. San Francisco: Lexing-ton Books.

Rosenfeld, S.A. (1997). Bringing Business Clusters into the Mainstream of Eco-nomic Development. European Planning Studies, 5(1), p.3-23.

Saaty, T.L. (1980). Decision Making – The Analytic Hierarchy Process, McGraw-Hill, Inc. New York: USA

Sethi, P. S. and Luther, K.A.N. (1986). Political Risk Analysis and Direct Foreign In-vestment Some Problems of Definition and Measurement. California Manage-ment Review, 28(2), p. 57-68.

Seyf, A. (2001). Can Globalisation and Global Localisation Explain Foreign Direct Investment? Japanese Firms in Europe. International Journal of the Economics of Business, 8(1), p. 137-153.

Smith, J. D. and Richard, F. (1994). Agglomeration and industrial location: An eco-nometric analysis of Japanese-affiliated manufacturing establishments in

auto-motive-related industries. Journal of Urban Economics, 36(1), p.23–41.

Sullivan, D. H. and Newman, R. J. (1988). Econometric analysis of business tax im-pacts on industrial location: What do we know, and how do we know it. Journal of Urban Economics, 23, p.215–234.

Terpstra, V. and Yu, C. M. (1988). Determinants of foreign investment of US adver-tising agencies. Journal of International Business Studies, 19(1), p.33–46.

Tong, H.M. (1978). Plant Location Decisions of Forging Manufacturers. Ann Arbor:

University Microfilms International Press.

Tse, D.K., Pan, Y. and Au, K. (1997). How MNCs choose entry modes and form al-liances: The China experience. Journal of International Business Studies, 28(4), p.779-805.

Vernon, R. (1996). International Investment and International Trade in the Product Cycle. Quarterly Journal of Economics, 80, p.190-207.

Veugelers, R. (1991). Locational Determinants and Ranking of Host Countries: An Empirical Assessment. Kyklos, 44(3), p.363-82.

Wakasugi, R. (2005). The effects of Chinese regional conditions on the location choice of Japanese affiliates. Japanese Economic Review, 56(4), p.390–407.

Wheeler, D., & Mody, A. (1992). International investment location decisions: The case of US firms. Journal of International Economics, 33, p.57–76.

Woodward, D. P. (1992). Locational determinants of Japanese manufacturing start-ups in the United States. Southern Economic Journal, 58(3), p.690–707.

Yu, C.M. and Ito, K. (1988). Oligopolistic Reaction and Foreign Direct Investment:

The Case of the US Tire and Textiles Industries. Journal of International Busi-ness Studies, 19(3), p.449-460.

Appendix

1. Calculation flowchart -Bootstrapping

2. Program-Bootstrapping

Sub Area()

' Area Macro ' 快速鍵: Ctrl+r '

Dim Message, Title, Default, Sampling_Size, Repeat_Times, Confidence_Level, Msg_var

Message = "Enter a Sampling Size between 1 to 17"

Title = "Sampling Size"

Default = "17"

10 Sampling_Size = InputBox(Message, Title, Default, 100, 100) If Sampling_Size > 17 Then GoTo 10

Repeat_Times = InputBox(Message, Title, Default, 100, 100) Message = "Enter confidence level" ' 設定提示訊息。

Title = "Confidence Level" ' 設定標題。

Default = "0.95" ' 設定預設值。

Confidence_Level = InputBox(Message, Title, Default, 100, 100)

Range("F3").Select

Range(Selection, Selection.End(xlDown)).Select Range("F3:F19").Select

Selection.NumberFormatLocal = "0_);[紅色](0)"

Range("F3:K19").Select Selection.ClearContents

Range("F23:K60000").Select Selection.ClearContents

Range("H3:K20").Select

Selection.NumberFormatLocal = "0.000000_);[紅色](0.000000)"

For x = 1 To Repeat_Times

Range("F3:K19").ClearContents

For a = 1 To Sampling_Size

'Random/no Calculation Do

f = "f" + CStr(2 + a)

MyRum = "=INT(RAND()*17+1)"

Range(f).Value = MyRum Range("F3:F19").Select Selection.Copy

Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _

:=False, Transpose:=False

'Check unique

Set Num_Range = Range("F3:F19") Set MyRange = Range(f)

MyCount = WorksheetFunction.CountIf(Num_Range, MyRange)

If MyCount < 2 Then Exit Do Loop

'Sample Series

g = "g" + CStr(2 + a) 'Range(g).Value = CInt(a) Range(g).Value = a H = "H" + CStr(2 + a) Range(H).Select

ActiveCell.FormulaR1C1 = "=VLOOKUP(RC6,r3c1:r19c5,R1C,0)"

I = "i" + CStr(2 + a) Range(I).Select

ActiveCell.FormulaR1C1 = "=VLOOKUP(RC6,r3c1:r19c5,R1C,0)"

J = "j" + CStr(2 + a) Range(J).Select

ActiveCell.FormulaR1C1 = "=VLOOKUP(RC6,r3c1:r19c5,R1C,0)"

K = "k" + CStr(2 + a) Range(K).Select

ActiveCell.FormulaR1C1 = "=VLOOKUP(RC6,r3c1:r19c5,R1C,0)"

Next a

Range("g21").Select

ActiveCell.FormulaR1C1 = "Sampling Size"

Range("H21").Select

ActiveCell.FormulaR1C1 = CInt(Sampling_Size)

Range("H20").Select

ActiveCell.FormulaR1C1 = "=sum(r3c:r19c)/r21c8"

Range("H20:K20").Select Selection.FillRight

Range("H20:K20").Select

Selection.NumberFormatLocal = "0.000000_);[紅色](0.000000)"

Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _ False, Transpose:=False

Selection.NumberFormatLocal = "0.000000_);[紅色](0.00"

K = "g" + CStr(22 + x)

Range(K).Select

ActiveCell.FormulaR1C1 = CInt(x) Selection.NumberFormatLocal = "0_);[紅 色](0.000000)"

With ActiveCell.Characters(Start:=1, Length:=7).Font .Name = "Arial"

ActiveCell.FormulaR1C1 = "Average"

With ActiveCell.Characters(Start:=1, Length:=7).Font .Name = "Arial"

.OutlineFont = False

Selection.NumberFormatLocal = "0.000000_);[紅色](0.000000)"

Range(avgt).Select

ActiveCell.FormulaR1C1 = "=AVERAGE(R" + CStr(ActiveCell.Row - CInt(Repeat_Times)) + "C8:R[-1]C8)"

'C20 表示 column T

Selection.NumberFormatLocal = "0.000000_);[紅色](0.000000)"

Range(avgU).Select

ActiveCell.FormulaR1C1 = "=AVERAGE(R" + CStr(ActiveCell.Row - CInt(Repeat_Times)) + "C9:R[-1]C9)"

Range(avgV).Select

ActiveCell.FormulaR1C1 = "=AVERAGE(R" + CStr(ActiveCell.Row - CInt(Repeat_Times)) + "C10:R[-1]C10)"

Range(avgW).Select

ActiveCell.FormulaR1C1 = "=AVERAGE(R" + CStr(ActiveCell.Row - CInt(Repeat_Times)) + "C11:R[-1]C11)"

ActiveCell.FormulaR1C1 = "Standard Dev."

With ActiveCell.Characters(Start:=1, Length:=7).Font .Name = "Arial"

.FontStyle = "標準"

.Size = 9

.Strikethrough = False

Selection.NumberFormatLocal = "0.000000_);[紅色](0.000000)"

ActiveCell.FormulaR1C1 = "=stdev(R" + CStr(ActiveCell.Row - CInt(Repeat_Times + 1)) + "C8:R[-2]C8)"

'C20 表示 column T Range(stdU).Select

Selection.NumberFormatLocal = "0.000000_);[紅色](0.000000)"

ActiveCell.FormulaR1C1 = "=stdev(R" + CStr(ActiveCell.Row - CInt(Repeat_Times + 1)) + "C9:R[-2]C9)"

Range(stdV).Select

Selection.NumberFormatLocal = "0.000000_);[紅色](0.000000)"

ActiveCell.FormulaR1C1 = "=stdev(R" + CStr(ActiveCell.Row - CInt(Repeat_Times + 1)) + "C10:R[-2]C10)"

Range(stdW).Select

Selection.NumberFormatLocal = "0.000000_);[紅色](0.000000)"

ActiveCell.FormulaR1C1 = "=stdev(R" + CStr(ActiveCell.Row - CInt(Repeat_Times + 1)) + "C11:R[-2]C11)"

ActiveCell.FormulaR1C1 = "Confidence Lvl."

With ActiveCell.Characters(Start:=1, Length:=7).Font .Name = "Arial"

.FontStyle = "標準"

ActiveCell.FormulaR1C1 = Round((1 - Confidence_Level) / 2, 8)

ActiveCell.FormulaR1C1 = "Upper Bond"

With ActiveCell.Characters(Start:=1, Length:=7).Font .Name = "Arial"

Range(upbt).Select

ActiveCell.FormulaR1C1 = "=confidence(R[3]c,R[-1]c,R[-4]c[-1])+R[-2]c"

Range(upbu).Select

ActiveCell.FormulaR1C1 = "=confidence(R[3]c[-1],R[-1]c,R[-4]c[-2])+R[-2]c"

Range(upbv).Select

ActiveCell.FormulaR1C1 = "=confidence(R[3]c[-2],R[-1]c,R[-4]c[-3])+R[-2]c"

ActiveCell.FormulaR1C1 = "=confidence(R[3]c[-2],R[-1]c,R[-4]c[-3])+R[-2]c"

相關文件