home *** CD-ROM | disk | FTP | other *** search
/ Shareware 1 2 the Maxx / sw_1.zip / sw_1 / TEXT / PDX_ALL.ZIP / TI1064.ASC < prev    next >
Text File  |  1992-06-04  |  4KB  |  133 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.   PRODUCT  :  Paradox                               NUMBER  :  1064
  9.   VERSION  :  3.5 & Up
  10.        OS  :  DOS
  11.      DATE  :  June 4, 1992                             PAGE  :  1/2
  12.  
  13.     TITLE  :  Computing Weighted Averages In Reports
  14.  
  15.  
  16.  
  17.  
  18.   Intended Audience:
  19.   This technical information sheet is intended for all levels of
  20.   Paradox users who needs to know how to compute weighted averages.
  21.  
  22.   Prerequisites:
  23.   The reader of this document should a be able to create tables,
  24.   forms, and reports in Paradox.  In addition, the user should have
  25.   a basic understanding of how to use calculated fields in reports.
  26.  
  27.   Purpose:
  28.   The purpose of this sheet is to familiarize the user with the
  29.   weighted averages equation and how to incorporate it in a report.
  30.   The basic idea of a Weighted Average comes from the Center of
  31.   Mass problem in Physics.  The Center of Mass equation determines
  32.   where along a particular line (e.g., the X axis) the Center of
  33.   Mass is located.  The location of the Center of Mass corresponds
  34.   to the Weighted Average of the system.
  35.  
  36.   Here is an example of how to compute a Weighted Average for a
  37.   group of test scores.  Let's say that there are two scores that
  38.   appear for a particular test.  Each score varies in occurrence;
  39.   for example, test score #1 will occur 3 times, and test score #2
  40.   will occur 2 times.
  41.  
  42.        1) Determine how many times each test score occurs, e.g.;
  43.            M1=3, M2=2 etc.
  44.  
  45.        2) Enter the value of each test score, e.g.;
  46.            X1=2, X2=9 etc.
  47.  
  48.        3) Use the following equation to compute the Weighted
  49.            Average of the test scores:
  50.  
  51.                  Xc = ((M1*X1) + (M2*X2))\(M1+M2)
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.   PRODUCT  :  Paradox                               NUMBER  :  1064
  75.   VERSION  :  3.5 & Up
  76.        OS  :  DOS
  77.      DATE  :  June 4, 1992                             PAGE  :  2/2
  78.  
  79.     TITLE  :  Computing Weighted Averages In Reports
  80.  
  81.  
  82.  
  83.  
  84.   Xc can be regarded as the Weighted Average of X1 and X2.  The
  85.   Weighted Average equation can be used for any number of values.
  86.   For example, here is an equation that computes the the Weighted
  87.   Average for four test scores:
  88.  
  89.        Xc = ((M1*X1) + (M2*X2) + (M3*X3) + (M4*X4))\(M1+M2+M3+M4)
  90.  
  91.   Each value's quantity provides the "weight" when the average is
  92.   calculated.
  93.  
  94.   The following is an example of how to use Weighted Averages in a
  95.   report.
  96.  
  97.   From the main menu choose Create and type in "Weight" and press
  98.   <ENTER> (or the equivalent). The first field should be designated
  99.   "X" of type "N" (numeric).  The second field should be designated
  100.   "Quantity" of type "N" (numeric). Press <F2> to create the table
  101.   "Weight".
  102.  
  103.   Choose Modify | DataEntry to enter the values; 1,2,3,4, and 5 in
  104.   the "X" field and 2,3,4,5, and 6 in the "Quantity" field.  Press
  105.   <F2> upon completion of data entry.
  106.  
  107.   From the main menu choose Report | Change and type in "Weight".
  108.   Select the table's Standard Report and press <ENTER>. Press
  109.   <ENTER> when the Report's description appears on screen. The
  110.   message; "Changing Report R for Weight table" will be displayed
  111.   at the top left of the screen.  Press <F10> for the Report
  112.   Generator Menu.  Choose Field | Place | Calculated and place the
  113.   following field:
  114.  
  115.        Round((Sum([X]*[Quantity]))/(Sum([Quantity])),2)
  116.  
  117.   Press <F2> to save the report and return to the main menu. Choose
  118.   Report | Output; type in "Weight" and press <ENTER>.  Choose
  119.   Screen and look at where the calculated field was placed on the
  120.   report.  The calculated field will return the value "3.5".  The
  121.   above equation can calculate the Weighted Average for any group
  122.   of numeric values.
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.