Archive for the ‘Econometric’ Category

Pengenalan SPSS Bagi Yang Baru Tau

June 9th, 2010

SPSS (Statistical Program for Social Science) merupakan paket program yang berguna untuk menganalisis data statistik. SPSS dapat digunakan untuk hampir seluruh file data dan sekaligus membuat laporan dalam bentuk tabulasi, grafik, dan plot untuk berbagai distribusi maupun statistic deskriptif.

SPSS menyediakan empat window , yaitu :
1. Data editor yang terdiri dari :

  • File, berfungsi untuk menangani hal-hal yang berhubungan dengan file data, seperti membuka file baru, membuka file tertentu, mengambil data dari program lain, mencetak dan lain-lain.
  • Edit, berfungsi dalam menangani hal-hal yang berhubungan dengan perbaiakan atau mengubah nilai data (duplikasi data, menghilangkan data, dan lain-lain). View, berfungsi untuk mengubah status toolbar (output label, script, dan lain-lain).
  • Data, Berfungsi untuk membuat perubahan pada SPSS secara keseluruhan seperti mengurutkan data, menyeleksi data berdasar kriteria tertentu, dan lain-lain.
  • Transform, berfungsi untuk membuat perubahan pada peubah yang telah dipilih dengan aturan tertentu.
  • Analyze, merupakan menu inti SPSS yang berfungsi untuk melakukan semua prosedur perhitungan statistik, seperti uji t, uji F, regresi, dan lain-lain.
  • Graph berfungsi membuat berbagai jenis grafik untuk mendukung analisis statistik, seperti, line bar, pie, dan lain-lain.
  • Utilities berfungsi dalam memberi informasi tentang peubah yang sekarang dan yang sedang dikerjakan juga dalam mengatur tampilan menu menu lain.
  • Window (seperti yang telah kita kenal).
  • Help (seperti yang telah kita kenal).

2. Menu Output Viewer
Menu ini berfungsi untuk memasukan data yang siap diolah oleh SPSS, setelah diolah lewat menu analyze maka hasil pengolahan informasi tersebut ditampilkan dalam bentuk viewer. Seperti halnya pada ,data editor, menu ini memuat file, edit, dan lain-lain yang disesuaikan dengan keinginan pengguna.

3. Menu Syntax Editor
Jika pada saat mengolah data, ada beberapa perintah yang hanya dapat digunakan dalam SPSS command language. Perintah tersebut dapat ditulis dalam Syntax Editor. Isi menu syntax sama dengan menu lain, tetapi ada tambahan submenu run, yang berfungsi untuk menjalankan syntax yang ditulis.

4. Menu Script Editor
Pada dasarnya dapat digunakan untuk melakukan berbagai pengerjaan SPSS secara otomatis, seperti membuka file, menutup file, dan lain-lain. Isi menu syntax sama dengan menu lain, tetapi ada tanmbahan submenu script, yang berfungsi untuk membuat berbagai subrutin dan fungsi baru, serta sub menu debug untuk melakukan debug script.

SPSS dipublikasikan oleh SPSS Inc. SPSS (Statistical Package for the Social Sciences atau Paket Statistik untuk Ilmu Sosial) versi pertama dirilis pada tahun 1968, diciptakan oleh Norman Nie, seorang lulusan Fakultas Ilmu Politik dari Stanford University, yang sekarang menjadi Profesor
Peneliti Fakultas Ilmu Politik di Stanford dan Profesor Emeritus Ilmu Politik di University of Chicago. SPSS adalah salah satu program yang paling banyak digunakan untuk analisis statistika ilmu sosial. SPSS digunakan oleh peneliti pasar, peneliti kesehatan, perusahaan survei, pemerintah, peneliti pendidikan, organisasi pemasaran, dan sebagainya. Selain analisis statistika, manajemen data (seleksi kasus, penajaman file, pembuatan data turunan) dan dokumentasi data (kamus metadata ikut dimasukkan bersama data) juga merupakan fitur-fitur dari software dasar SPSS.

Berbagai fitur dalam SPSS dapat diakses melalui menu pull-down atau dapat diprogram dengan bahasa perintah sintaks proprietary 4GL. Pemrograman perintah sintaks memiliki keuntungan di bidang reproduktivitas serta pengendalian manipulasi data kompleks dan analisis. Perhubungan menu pull-down juga menghasilkan sintaks perintah, walaupun pengaturan awalnya harus diubah terlebih dahulu agar sintaks dapat dilihat oleh user. Program dapat berjalan secara interaktif, atau tanpa pengendalian menggunakan Fasilitas Kerja Produksi. Sebagai tambahan, bahasa makro juga dapat digunakan untuk menulis perintah subrutin dan ekstensi program Python dapat mengakses informasi di dalam kamus data dan data, kemudian secara dinamis membuat program perintah sintaks.

Ekstensi program Phyton, yang diperkenalkan pada SPSS 14, menggantikan skrip SAX Basic yang kurang fungsional, walaupun SAX Basic juga masih dapat digunakan. Ekstensi Phyton menyebabkan SPSS dapat menjalankan statistik mana pun dalam paket free software R. Sejak versi 14 dan seterusnya, SPSS dapat diatur secara eksternal melalui Phyton pada program VB.NET menggunakan “plug-ins” yang telah disediakan.
SPSS meletakkan batasan-batasan pada struktur file internal, tipe data, pengolahan data dan pencocokan file, yang memudahkan pemrograman. SPSS datasets memiliki struktur tabel 2 dimensi dimana bagian baris menunjukkan kasus-kasus (seperti pribadi atau rumah tangga) dan bagian kolom menampilkan ukuran-ukuran (seperti umur, jenis kelamin, pendapatan rumah tangga). Hanya 2 tipe data yang digambarkan : numerik dan teks (string). Seluruh pengolahan data dilakukan berurutan kasus per kasus melalui file. File dapat dipasangkan satu per satu atau satu-banyak, tapi tidak dapat banyak per banyak.

User interface grafis memiliki 2 jenis tampilan yang dapat dipilih dengan cara meng-klik salah satu dari dua tombol di bagian bawah kiri dari window SPSS. Tampilan ‘Data View’ menampilkan tampilan spreadsheet dari kasus-kasus (baris) dan variabel (kolom). Tampilan ‘Variable View’ menampilkan kamus metadata di mana setiap baris mewakili sebuah variabel dan menampilkan nama variabel, label variabel, label nilai, lebar cetakan, tipe pengukuran dan variasi dari karakteristik-karakteristik lainnya. Sel-sel di kedua tampilan dapat diedit secara manual, memungkinkan pengaturan struktur file dan pemasukan data tanpa harus menggunakan sintaks perintah. Hal ini cukup untuk dataset-dataset kecil. Dataset yang lebih besar, seperti survei statistik, lebih sering dibuat menggunakan software data entry, atau dimasukkan selama computer-assisted personal interviewing, dengan pemindaian dan menggunakan software pengenalan karakter optikal, atau dengan pengambilan langsung dari kuesioner online. Dataset-dataset ini kemudian dimasukkan ke dalam SPSS.

SPSS dapat membaca dan menulis data dari file teks ASCII (termasuk file hierarkis), paket statistik lainnya, spreadsheets dan database. SPSS dapat membaca dan menulis ke dalam tabel database eksternal relasional melalui ODBC dan SQL.
Output statistik memiliki format file proprietary (file *.spo, men-support tabel poros) yang mana, sebagai tambahan atas penampil dalam paket, disediakan pembaca stand-alone. Output proprietary dapat diubah ke dalam bentuk teks atau Microsoft Word. Selain itu, output dapat dibaca sebagai data (menggunakan perintah OMS), sebagai teks, teks dengan pembatasan tabulasi, HTML, XML, dataset SPSS atau pilihan format image grafis (JPEG, PNG, BMP, dan EMP).

Modul-modul Add-on modules menyediakan kapabiliti tambahan. Modul-modul yang tersedia, antara lain :

  • SPSS Programmability Extension (ditambahkan pada versi 14). Memungkinkan pemrograman Phyton untuk mengontrol SPSS.
  • SPSS Validation Data (ditambahkan pada versi 14). Memungkinkan pemrograman pengecekan logistik dan pelaporan nilai-nilai mencurigakan.
  • SPSS Regression Models – Regresi logistik, regresi ordinal, regresi logistik multinomial, dan model campuran (multilevel models).
  • SPSS Advanced Models – GLM yang bervariasi dan ukuran-ukuran yang diulang (dihapuskan dari basis sistem sejak versi 14).
  • SPSS Classification Trees. Membuat diagram klasifikasi dan keputusan untuk mengidentifikasi kelompok dan memprediksi perilaku.
  • SPSS Tables. Memungkinkan kontrol user-defined atas output laporan.
  • SPSS Exact Tests. Memungkinkan tes statistik atas sample kecil.
  • SPSS Categories
  • SPSS Trends
  • SPSS Conjoint
  • SPSS Missing Value Analysis. Imputasi simpel berbasis regresi.
  • SPSS Map
  • SPSS Complex Samples (ditambahkan pada Versi 12). Diatur untuk stratifikasi dan pengelompokkan serta pilihan pemilihan sample lainnya.
  • SPSS Server adalah sebuah versi dari SPSS dengan arsitektur pengguna/server. SPSS Server memiliki beberapa fitur yang tidak tersedia pada versi desktop, seperti fungsi penilaian.

Software Gratis Untuk Ekonometrika, Statistik, dan Matematika

June 9th, 2010

Karena ini jaman sudah jaman modern, maka perhitungan menggunakan rumus manual sudah nggak jaman lagi yah… Untuk membantu pekerjaan kita, ada banyak tersedia banyak perangkat lunak (software) yang gratis (kalau sudah tidak gratis, maaf yah…).

Pada kesempatan ini saya menampilkan beberapa software yang bisa Anda coba dan hampir semua menyediakan panduan penggunaan. Selamat mencoba.

  • DATAPLOT (10-2007) Software for Scientific Visualization, Statistical Analysis, and Non-Linear Modeling…. full review
  • INSTAT + (3.36) General Statistical Package particurarly aimed at Analysis of Climatic Data…. full review
  • KYPLOT (2.0) An Integrated Environment for Data Analysis and Visualization
  • MICROSIRIS (9.2) Statistical and Data Management Package
  • OPENSTAT (23/03/08) Software particularly aimed at Students in Social Sciences…. full review
  • WINIDAMS (1.3) Software Package for the Validation, Manipulation and Statistical Analysis of Data…. full review
  • DEMETRA (2.1) Interface for Time Series Techniques as Tramo/Seats and X12-Arima
  • EASYREG INT. (September 12, 2007) > Software for Various Econometric Estimation and Testing Tasks…. full review

The Development of Econometrics and Empirical Methods in Economics

May 8th, 2009

Econometrics Models and Economic

Economics is about events in the real world. Thus, it is not surprising that much of the debate about whether we should accept one economic theory rather than another has concerned empirical methods of relating the theoretical ideas about economic processes to observation of the real world. Questions abound. Is there any way to relate theory to reality? If there is a way, is there more than one way? Will observation of the real world provide a meaningful test of a theory? How much should direct and purposeful observation of economic phenomena, as opposed to informal heuristic sensibility, drive our understanding of economic events? Given the ambiguity of data, is formal theorizing simply game-playing? Should economics focus more on direct observation and common sense? In this chapter we briefly consider economists’ struggles with questions such as these. Their struggles began with simple observation, then moved to statistics, then to econometrics, and recently to calibration, simulations and experimental work.

The debate about empirical methods in economics has had both a micro-economic and a macroeconomic front. The microeconomic front has, for the most part, been concerned with empirically estimating production functions and supply-and-demand curves; the macroeconomic front has generally been con­cerned with the empirical estimation of macroeconomic relationships and their connections to individual behavior. The macroeconomic estimation problems include all the microeconomic problems plus many more, so it is not surprising that empirical work in macroeconomics is far more in debate than empirical work in microeconomics.

We begin our consideration with a general statement of four empirical approaches used by various economists. Then we consider economists’ early attempts at integrating statistical work with informal observations. Next, we see how reasonable yet ad hoc decisions were made about the problems regarding the statistical treatment of data, leading to the development of a subdiscipline of economics—econometrics. Finally, we consider how those earlier ad hoc deci­sions have led to cynicism on the part of some economists about econometric work and the unsettled state of empirical economics today.

Empirical Economics Letters

Economic Empirical, Empirical Research in Economics

Almost all economists believe that economics must ultimately be an empirical discipline, that their theories of how the economy works must be related to (and, if possible, tested against) real-world events and data. But economists differ enormously on how one does this and what implications can be drawn afterward. We will distinguish four different approaches to relating theories to the real world: common-sense empiricism, statistical analysis, classical econometric analysis, and Bayesian econometric analysis.

Common-sense empiricism is an approach that relates theory to reality through direct observation of real world events with a minimum of statistical aids. You look at the world around you and determine if it matches your theoretical notions. It is the way in which most economists approached economic issues until the late nineteenth century; before then, most economists were not highly trained in statistical methods, the data necessary to undertake statistical methods did not exist, many standard statistical methods that we now take for granted had not yet been developed, and computational capabilities were limited.

Common-sense empiricism is sometimes disparagingly called armchair em­piricism. The derogatory term conveys a sense of someone sitting at a desk, developing a theory, and then selectively choosing data and events to support that theory.

Supporters of common-sense empiricism would object to that characterization because the approach can involve careful observation, extensive field work, case studies, and direct contact with the economic events and institutions being studied. Supporters of common-sense empiricism argue that individuals can be trained to be open to a wide range of real-world events; individuals can objectively assess whether their theories match those events. The common-sense approach requires that economists constantly observe economic phenomena, with trained eyes, thereby seeing things that other people would miss. It has no precise line of demarcation to ultimately determine whether a theory should or should not be accepted, but it does have an imprecise line. If you expected one result and another occurred, you should question the theory. The researcher’s honesty with himself or herself provides the line of demarca­tion.

The statistical analysis approach also requires one to look at reality but emphasizes aspects of events that can be quantified and thereby be subject to statistical measure and analysis. A focus is often given to statistically classifying, measuring, and describing economic phenomena. This approach is sometimes derisively called measurement without theory. Supporters of the approach object to that characterization, arguing that it is simply an approach that allows for the possibility of many theories and permits the researcher to choose the most relevant theory. They claim that it is an approach that prevents preconsidered theoretical notions from shaping the interpretation of the data.

The statistical analysis approach is very similar to common-sense empiricism but unlike that approach, the statistical approach uses whatever statistical tools and techniques are available to squeeze every last bit of understanding from a data set. It does not attempt to relate the data to a theory; instead, it lets the data (or the computer analyzing the data) do the talking. As the computer has increased researchers’ capabilities of statistically analyzing data, the approaches of common-sense empiricism and statistical analysis have diverged.

The classical econometric approach is a method of empirical analysis that directly relates theory and data. The common-sense sensibility of the researcher, or his or her understanding of the phenomena, plays little role in the empirical analysis; the classical econometrician is simply a technician who allows the data to do the testing of the theory. This approach makes use of classical statistical methods to formally test the validity of a theory. The econometric approach, which developed in the 1930s, is now the approach most typically taught in modern economics departments. Its history is the primary focus of this chapter.

The Bayesian approach directly relates theory and data, but in the interpre­tation of any statistical test, it takes the position that the test is not definitive. It is based on the Bayesian approach to statistics that seeks probability laws not as objective laws but as subjective degrees of belief. In Bayesian analysis, statistical analysis cannot be used to determine objective truth; it can be used only as an aid in coming to a subjective judgment. Thus, researchers must simply use the statistical tests to modify their subjective opinions. Bayesian econometrics is a technical extension of common-sense empiricism. In it, data and data analysis do not answer questions; they are simply tools to assist the researcher’s common sense.

These approaches are not all mutually exclusive. For example, one can use common-sense empiricism in the initial development of a theory and then use econometrics to test the theory. Similarly, Bayesian analysis requires that re­searchers arrive at their own prior belief by some alternative method, such as common-sense empiricism. However, the Bayesian and the classical interpreta­tions of statistics are mutually exclusive, and ultimately each researcher must choose one or the other.

Technology affects not only the economy itself but also the methods econo­mists use to analyze the economy. Thus, it should not be surprising that computer technology is making major differences in the way economists approach the economy and do empirical work. As one observer put it: Had automobiles experienced the same technological gains as computers, Ferraris would be selling for 50 cents. Wouldn’t that change your driving habits? The computer certainly has changed economists’ empirical work, and it will do so much more in the future.

In some cases technology has merely made it easier to do things we have already been doing. Statistical tests, for example, are now done pro forma by computer programs. Recursive systems with much more complicated dynamics are finding a wider audience. Baysesian measures are beginning to show up in standard computer software statistical programs. Another group of economists is using a VAR (Vector Auto Regression) approach. They simply look to the computer to find patterns in data independent of any theory.

Another set of changes is more revolutionary than evolutionary. Recently a group of empirical economists have been focusing more on agent-based model­ing. These are simulations in which local individual optimization goals of heterogeneous agents are specified and modeled. But instead of being deductively determined, the results are simulated to determine the surviving strategies. In these simulations individuals are allowed to build up institutions and enter into coalitions, providing a much closer parallel to real-world phenomena.

Another change that we have seen is the development and use of a technique called calibration in macroeconomic models. Models are not tested empirically; instead, they are calibrated to see if the empirical evidence is consistent with what the model could have predicted. In calibration, the role of simple general equilibrium models with parameters determined by introspection along with simple dynamic time-series averages is emphasized. Statistical “fit” is explicitly rejected as a primary goal of empirical work. There is debate about precisely what calibration shows, but if a model cannot be calibrated, then it should not be retained.

A final change has been the development of a “natural experiment” approach to empirical work. This approach uses intuitive economic theory rather than structural models and uses natural experiments as the data points.

Experimental Economists and Simulation, Experimental Economics

May 8th, 2009

Recently, a group of economists has begun to undertake a different approach to empirical work in economics. Using animals or people to act as buyers and sellers of an unnamed commodity, and knowing the underlying supply and demand conditions, they determine whether the theory correctly predicts the results that occur in an “experiment. These experimental economists claim to have proved various economic propositions through their experiments.

Let us consider a test they did using a procedure called a “double oral auction market,” in which buyers and sellers publicly announce bid and offering prices. Vernon Smith, a leader and developer of much of this work, conducted a laboratory experiment in 1956 to test whether equilibrium would be achieved in a double oral auction market. Students took roles as suppliers and demanders and called out their prices. Within fifteen minutes, with a market of fourteen students on each side, the price came very close to the equilibrium price; once it arrived there, it tended to stay there. When demand shifted (when students were given sheets of paper telling them different demand conditions), the price adjusted relatively quickly to the new equilibrium price. This experiment has been replicated by a number of other economists.

Such an approach has several possible uses. By using the experimental method, economists can see how markets react under different institutional conditions. In a recent experiment, researchers tested a posted-price market and compared it to a double-oral auction market. In a posted-price market, firms and buyers post a price for a period of time and stick to it. Researchers found that prices tended to be higher in posted-price markets than in double-oral auction markets, a finding that led the U.S. Department of Transportation to ask the help of experimental economists in solving a problem concerning the pricing of railroads and barges. The railroads had asked the Department of Transportation to switch from privately negotiated freight rates to publicly posted rates, arguing that public posting would protect both themselves and small barge owners from unannounced price-cutting by large barge owners. When experimenters simu­lated the two types of markets, however, they found the opposite to be the case: price posting tended to yield higher prices than private negotiation and hurt small barge operators. The railroads dropped their request.

Another test done by experimental economists was of the Coase theorem, which states that parties who are capable of harming one another but who can negotiate will bargain to an efficient outcome, regardless of which side has the legal right to inflict damage. The experimental results confirmed this prediction. However, the experiment found that when individuals were endowed with the legal right by means of a coin flip, they almost inevitably did not extract the full individual rational share of the bargaining surplus that is predicted by game theory. Instead, the bargainers almost inevitably shared the surplus equally. This suggests that a fairness ethic, not pure rational individual maximization, governs distribution. This in turn suggests that individuals do not perceive asymmetric property rights as legitimate if they are awarded randomly. However, when property rights were awarded to the individual who won a game of skill before the experiment, the experimenters noted that two-thirds of the individuals with the property right obtained most of the joint surplus, whereas under the random assignment treatment none did.

Given the problems of empirically testing theories, it is not surprising that this work has gained in importance. Its acceptance by the profession would have wide-ranging implications and would require significant changes not only in the training of economists but also in their role in society and their entire approach to economic problems.

A related development is analysis through simulations. In this work models are designed that have multiple agents who follow simple, locally based rules. Then simulations are run, and it is determined which rules survive and which do not. This allows modelers to choose assumptions by their survival rather than by introspection.

RSS Feed

Search

  • Categories

  • Archives

  • Affiliates

    View blog authority
    Free PageRank Checker
    eXTReMe Tracker
  • Disclosure

    I hereby state that I have received financial compensation for some of the posts on this blog from sponsors who want to have their product(s) and/or service(s) be reviewed by me.