What criterion is being used to determine the best estimates

Assignment Help Programming Languages
Reference no: EM13500327

a) Open SAS. In the editor window type the commands below and save this as ass3.sas in your H:\stats301\A3 directory (if this doesn't exist then create it!):

The TITLE1 command his will ensure that your user ID is on all relevant output - if it is not present students will receive NO MARKS for all work. The LIBNAME statement allows you to save permanent copies of ay data sets you create.

In the following we wish to take you from a specific task to a general solution by identifying the general features that can be transferred across similar enquiries. In particular, we want to automate the production of ‘nice' (.rtf) output from these enquiries via the use of SAS MACROs.

Q1

(a) In the following, we will be re-visiting the data set Stats20x that you investigated in assignment 1. The following code can be use to produce a table of the sample size (n), average (mean) and standard deviation (s) for a numerical variable (in this example exam score) for each level of a classification/factor (in this case whether the student passed the assignment - pass_assign=yes or no). Run the code below to reproduce the outputted table that you see below it.

Code:

PROC TABULATE DATA = stats20x FORMAT=6.2;
CLASS pass_assign;
VAR Exam;
TABLE pass_assign all ,Exam*(N='sample size' Mean='mean' std='std dev');
TITLE 'Pass assignment versus Exam';
RUN;

(b) Run this code again except this time make sure you are creating an .rtf file with the in an appropriate folder with this table in it. 

(c) What we would like to do is create similar tables in an .rtf file that produces the same statistics for any numerical value against each level of a know classification/factor from any data set we wish to inspect.

(d) Hence, create a SAS MACRO that allows you produce the same sort of tables in .rtf format. Produce the MACRO code and illustrate its use by producing 3-4 similar tables for various combinations of numerical and classification variable (One example could be, say, Test versus gender).

Q2 Study the following website on non-linear modelling (as well as the help file for PROC NLIN in SAS);

(a) In no more than one or two paragraphs, and in your own words, (no cut and pasting please) describe how a non-linear model differs from a linear model.

(b) In no more than one or two paragraphs, and in your own words, (no cut and pasting please) describe which components of a non-linear model are the same as for a linear model.

(c) Hence, what criterion is being used to determine the ‘best' estimates?

Reference no: EM13500327

Questions Cloud

What is the after-tax cost of debt : What is the after-tax cost of debt
Determine the electromagnetic waves wavelength : A radio station with a power of 16kW sends out an omnidirectional wave at 2.1MHz. What is the electromagnetic wave's wavelength
Explain the molarity of the calcium hydroxide solution : A 50.70 mL of sample of Ca(OH)2 solution is titrated with 0.1188 M HCl. What is the molarity of the calcium hydroxide solution if the titration requires 38.10 mL of the acid to reach the endpoint
Describe how you could use benefits and services to improve : Describe how you could use benefits and services to improve your organization productivity in consulting services business
What criterion is being used to determine the best estimates : What we would like to do is create similar tables in an .rtf file that produces the same statistics for any numerical value against each level of a know classification/factor from any data set we wish to inspect.
Estimate the angle of the first-order diffraction : X rays diffract from a crystal in which the spacing between atomic planes is 0.179nm. What is the angle of the first-order diffraction
Explain the reaction that occurs in the gaseous state : When sodium chloride is strongly heated in a flame, the flame takes on the yellow color associated with the emission spectrum of sodium atoms. The reaction that occurs in the gaseous state is Na^+(g) + Cl^- (g) ----> Na (g) + Cl (g)
Job as production manager in the electronics plant : 1. You have taken a job as production manager in the electronics plant your  company has just bought in Hungary
Explain what ions are present in solution upon dissolving : Specify what ions are present in solution upon dissolving each of the following substances in water. ZnCl2

Reviews

Write a Review

Programming Languages Questions & Answers

  Prepare menu driven program for arithmetic operations

Create algorithms, flowchart and write programs in c language for following: Prepare a menu driven program for different arithmetic operations.

  What do you meant by abstract keyword

What does the abstract keyword do and what are generics as they relate to the built in linked list class? Why do we need them?

  Write a program that prompts for and reads an amount

Write a program that prompts for and reads an amount (integer) for Canadian dollars and convert the amount to Euros. The exchange rate is 1.

  Write pseudocode to accept candy name

Write a pseudocode for the following: A programm to accept a candy name (for exmple, "chocolate-covered blueberries'), price per pound, and number of pounds sold.

  Write ipo charts for program contains four value functions

Add new C++ source file to project. Name the source file Ch9AppE05. Use Ipo charts you created in step a to code program. Display gross pay with a dollar sign and two decimal places.

  Write application that allows users to enter student id

Write an application that enables users to enter student ID and three exam scores. Provide a method to compute and return the overall exam average.

  Sequence of statements to find first comma in string line

Write a sequence of statements that finds first comma in String line , and assigns to variable clause portion of line up to, but not including the comma.

  Program to read from an input file

Write a program to read from an input file for 15 students, that contains each individual student ID, the course code, letter grade, and credit hours for five courses.

  Writing class containing two instance variables

Write class named ParkingMeter containing: two instance variables named timeLeft and maxTime of type int. Value of timeLeft must be initialized to 0.

  Give greedy algorithm to get all n people across bridge

Give a greedy algorithm to get all these n people across the bridge in a fastest way. Describe the algorithm briefly. Prove the correctness.

  Function to calculate recurrence using dynamic programming

Write down a function to calculate the following recurrence by using dynamic programming. PN = PN-1 + 2PN-2, with P1 = P0 = 1.

  Use one-dimensional array to solve problem

Use one-dimensional array to solve following problem. Read in 10 numbers, each of which is between 10 and 100 inclusive.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd