CH4 8
CH4 8
4 Files
This chapter describes how to open and save your meta-files, and how to share the
data in a meta-file with other applications, such as SPSS.
Creating a Meta-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Saving a Meta-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Saving When You Exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Chapter 4 Page 51
Managing Files Meta-Stat User's Guide
Chapter 4 Page 52
Meta-Stat User's Guide Managing Files
Creating a Meta-file
Your first task in performing a meta-analysis is to create a meta-file. A meta-file
holds the following information:
A meta-file is actually two DOS files. For more information, see the section
"Keeping Backups of Your Data" later in this chapter.
1. Select File/New
! If you tell Meta-Stat to close the open file, and you have made changes to
it, Meta-Stat asks if you want to save your changes. Press Y or N.
3. Type a name, up to eight characters long, for the new meta-file. The name
should provide a good description of the meta-file, so that you can distinguish
one meta-file from another on Meta-Stat screens.
Chapter 4 Page 53
Managing Files Meta-Stat User's Guide
Chapter 4 Page 54
Meta-Stat User's Guide Managing Files
5. Meta-Stat displays the name of the meta-file, along with the number of
variables and studies in it.
Meta-Stat automatically creates some variables for you. See Chapter 4 for
more information.
Chapter 4 Page 55
Managing Files Meta-Stat User's Guide
Chapter 4 Page 56
Meta-Stat User's Guide Managing Files
1. Select File/Open
3. Select the meta-file you want to open. If necessary, change the directory
where the meta-file is stored. See the following sections for more information.
2. If necessary, press Space to display the sizes of the meta-files in the current
Chapter 4 Page 57
Managing Files Meta-Stat User's Guide
directory, along with the date and time when they were last changed:
3. Press F1 to display a list of commands available for sorting the list of files:
Chapter 4 Page 58
Meta-Stat User's Guide Managing Files
5. To select a meta-file, use the cursor keys to highlight the file, then press
Enter.
If necessary, you can change the directory from which Meta-Stat displays the list
of meta-files.
Chapter 4 Page 59
Managing Files Meta-Stat User's Guide
Note: Instead of pressing Alt-G, you can display the parent directory by
moving the cursor to the .. in the directory list and pressing Enter.
2. In the list of directories, use the cursor keys to highlight the directory, then
press Enter.
3. In the directory you selected, pick the meta-file you want to open. See the
previous section for more information.
Chapter 4 Page 60
Meta-Stat User's Guide Managing Files
Saving a Meta-file
When you change a meta-file by adding variables and studies, Meta-Stat keeps
track of the changes in your computer's memory. However, Meta-Stat does not
automatically save your changes on disk. Therefore, you should make sure that
you save your changes on disk—either periodically or when you exit.
You can save the open meta-file using its existing name, or you can save it under a
new name. The following sections describe your options.
Saving Periodically
To protect yourself from losing data during a power failure or other problem, you
should save the open meta-file periodically.
When you use File/Save, Meta-Stat uses your backup files to save any
changes. When you exit Meta-Stat, you must again tell Meta-Stat to save changes.
This makes your changes permanent, because Meta-Stat saves them in your
original meta-file. If you do not save when you exit, your original meta-file is not
updated with the additions and changes made during the session.
Note: You can also use the Meta-Stat timed backup feature to protect yourself
from data losses. For more information, see the section "Keeping
Backups of Your Data" later in this chapter.
You can save a meta-file under a new name. Follow these steps:
Chapter 4 Page 61
Managing Files Meta-Stat User's Guide
1. Select File/save As
You can precede the file name with a drive and directory path, if necessary,
e.g. a:\DATA\COACH2. If you do not, Meta-Stat saves the file in the current
directory.
Chapter 4 Page 62
Meta-Stat User's Guide Managing Files
When you exit, Meta-Stat prompts you to save the changes to your data:
If you do not save changes, Meta-Stat does not update your original files with any
of the changes you made during the session.
Chapter 4 Page 63
Managing Files Meta-Stat User's Guide
! Copy a meta-file
! Rename a meta-file
Copying a Meta-file
1. Select File/Copy
2. If necessary, first select the directory in which the file is located. For more
information, see the section "Changing the Directory" earlier in this chapter.
Chapter 4 Page 64
Meta-Stat User's Guide Managing Files
3. Use the cursor (arrow) keys to highlight the file, then press Enter.
Chapter 4 Page 65
Managing Files Meta-Stat User's Guide
Meta-Stat again prompts you to identify the name of the new file.
Chapter 4 Page 66
Meta-Stat User's Guide Managing Files
Deleting a Meta-file
1. Select File/Delete
Chapter 4 Page 67
Managing Files Meta-Stat User's Guide
2. If necessary, first select the directory in which the file is located. For more
information, see the section "Changing the Directory" earlier in this chapter.
3. Use the cursor keys to highlight the file, then press Enter.
Chapter 4 Page 68
Meta-Stat User's Guide Managing Files
Renaming a Meta-file
1. Select File/Rename
2. If necessary, first select the directory in which the file is located. For more
information, see the section "Changing the Directory" earlier in this chapter.
3. Use the cursor keys to highlight the file, then press Enter.
Meta-Stat prompts you to identify the new name for the file:
Chapter 4 Page 69
Managing Files Meta-Stat User's Guide
4. Use the editing keys Del, Ins, and Backspace to remove and insert
characters in the file name.
Chapter 4 Page 70
Meta-Stat User's Guide Managing Files
The following sections show you how to make more frequent backups, and how to
recover data from backup copies.
! A definitions file contains the variables you have defined. This file
is named:
<meta-name>.DEF
<meta-name>.MTA
The <meta-name> is the name you gave to the meta-analysis. The filename
extension, DEF or MTA, is assigned by Meta-Stat.
When Meta-Stat creates a backup copy of your data, it copies the two files
described above and changes the filename extensions. The following table
describes the backup files:
Meta-Stat creates backup files whenever you start the program and open a meta-
file. You can also create backup files more frequently, by using a timed backup
Chapter 4 Page 71
Managing Files Meta-Stat User's Guide
feature. You might want to do this when you need to make numerous changes
during a Meta-Stat session.
Meta-Stat prompts you to identify how often you want to make backups:
2. Type a number from 0 to 999. This is the number of minutes after which
Meta-Stat will create a backup of your meta-file. Select 0 minutes to turn off
the timed back-up feature.
Sometimes, you might want to discard the data in your current Meta-Stat data files
Chapter 4 Page 72
Meta-Stat User's Guide Managing Files
and instead use the data in your backup files. For example:
Follow the steps below to recover data from backup copies. The commands you
use in these steps rename your backup files to be the current data files for your
meta-analysis.
3. Press Enter.
5. Press Enter.
To protect important data, you should keep backup copies of the data on diskette.
If your hard disk is ever damaged, you can recover your data from the diskette.
Chapter 4 Page 73
Managing Files Meta-Stat User's Guide
files.
Chapter 4 Page 74
Meta-Stat User's Guide Managing Files
An ASCII file is a text-only file that contains no special formatting. Most programs
can read ASCII files.
When you export data from a meta-analysis, Meta-Stat creates two ASCII files. If
you want to import data into Meta-Stat, you must create these ASCII files
yourself.
The definitions file contains variables that are used in the meta-analysis. It has this
filename:
<meta-name>.ASD
Each record (line) in the file identifies a separate variable, and the fields in the
record are delimited by commas. Alphanumeric fields are enclosed within quotes.
Chapter 4 Page 75
Managing Files Meta-Stat User's Guide
Field Contents
1 Numeric identifier of the variable
2 Eight-character name of the variable
3 One-character identifier of the variable's type:
B Blocking
C Continuous
D Discrete
E Equation
4 Total length of the variable's data
5 Number of decimal places allowed for the variable's data
6 25-character description of the variable
1,"EFFECTSZ","C",8,3,"Effect Size"
5,"PUB_YR","C",2,0,"Publication Year"
Chapter 4 Page 76
Meta-Stat User's Guide Managing Files
<meta-name>.ASM
Each record (line) in the file identifies a separate study, and the fields in the record
are separated by commas. Alphanumeric fields are enclosed within quotes.
Field Contents
1 Eight-character name of the study
2 Authors of the study
3 Title of the study
4-end Data for each variable, separated by commas. The record
ends with a carriage return - line feed.
Chapter 4 Page 77
Managing Files Meta-Stat User's Guide
Exporting a Meta-Analysis
If necessary, first select the directory in which the file is located. For more
information, see the section "Changing the Directory" earlier in this chapter.
Meta-Stat creates two ASCII files that hold data from the meta-analysis. For
more information about these files, see the section "ASCII Files Used for
Importing/Exporting" earlier in this chapter.
Chapter 4 Page 78
Meta-Stat User's Guide Managing Files
Importing a Meta-Analysis
To import data from ASCII files into Meta-Stat, follow these steps:
1. Create the two ASCII files that will be imported. For more information about
these files, see the section "ASCII Files Used for Importing/Exporting" earlier
in this chapter.
Warning: Use the extension ASD for the definitions file, ASM for the
study-data file. For example:
SAT.ASD
SAT.ASM
Make sure that you have not used the same name for an existing meta-
analysis. For example, if you already have a meta-analysis called SAT, and
you import the two files listed above, Meta-Stat will overwrite the existing
meta-analysis.
2. Start Meta-Stat.
Meta-Stat prompts you to identify the definitions file. This is the file that
contains variables:
Chapter 4 Page 79
Managing Files Meta-Stat User's Guide
4. Highlight the definitions file you want to import, then press Enter.
If necessary, first select the directory in which the file is located. For more
information, see the section "Changing the Directory" earlier in this chapter.
5. If your study-data file has a different name from the definitions file, Meta-Stat
prompts you to identify the study-data file:
Chapter 4 Page 80
Meta-Stat User's Guide Managing Files
Chapter 4 Page 81
Managing Files Meta-Stat User's Guide
M2SPSS <meta-analysis>
3. Press Enter.
4. Check your screen for errors. The most common error occurs when the .INC
file refers to a variable that is not defined until later in the file. Use your word
processor to move the variable definition before the offending error.
5. Use the two files as input to SPSS. Consult your SPSS documentation for
more information.
The .DAT file contains the data for all the variables in your meta-file, including the
data derived from equations and blocking variables. If you are missing CTRL_N
and EXP_N, for example, but have recorded TOTAL_N, M2SPSS will use your
value in recording TOTAL_N, not the equation. Thus, M2SPSS lets you analyze
the identical dataset.
The functions used by meta-stat to provide the equation and blocking variable
results are also provided in the include file. They are commented out with a leading
'* ' so as not to override the recorded values. If you want to use the equations, use
your word processor to remove the equations.
Chapter 4 Page 82