28 Pages

slides4-5

Course: COMP 5113, Fall 2009
School: Cuyamaca College
Rating:
 
 
 
 
 

Word Count: 2264

Document Preview

Compression Data Notes COMP 4923/5113 Chapters 4 5 Jim Diamond Jodrey School of Computer Science Acadia University Chapter 4 Chapter 4 40 Statistical Compression: Once More, With Feeling Human compresses a sequence of input symbols into a sequence of bits use same probabilities and codes as example from Chapter 3 e.g., BAD 100111 Imagine a binary point in front: .1001112 BAD is assigned a number as...

Register Now

Unformatted Document Excerpt

Coursehero >> California >> Cuyamaca College >> COMP 5113

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Compression Data Notes COMP 4923/5113 Chapters 4 5 Jim Diamond Jodrey School of Computer Science Acadia University Chapter 4 Chapter 4 40 Statistical Compression: Once More, With Feeling Human compresses a sequence of input symbols into a sequence of bits use same probabilities and codes as example from Chapter 3 e.g., BAD 100111 Imagine a binary point in front: .1001112 BAD is assigned a number as follows: code(B ) 22 + code(A) 23 + code(D ) 26 = 102 22 + 0 23 + 1112 26 = 0.60937510 Every string compresses into some number x [0, 1) Problem: Human coding achieves the entropy only if all symbols have probabilities that are inverse powers of 2 in some other cases (pmax large), Human codes are quite poor compared to the entropy of the data source By doing appropriate arithmetic calculations, we can overcome this problem Jim Diamond, Jodrey School of Computer Science, Acadia University Chapter 4 41 Arithmetic Compression Any message encodes into a number x [0, 1) all strings starting with A are in [0, 0.1) all strings starting with B are in [0.1, 0.11) all strings starting with C are in [0.11, 0.111) all strings starting with D are in [0.111, 1) [0 Thus the unit interval is partitioned according to the rst symbol in the message: 0.1) [0.1 A B 0.11) [.11 C .111) [.111 D 1) Jim Diamond, Jodrey School of Computer Science, Acadia University Chapter 4 42 Arithmetic Compression: 2 The resulting interval is sub-partitioned according to the second symbol, and so on: A A D B C D Arithmetic code for a message is dened by interval start and width note: the arithmetic code is for the whole message, not for individual symbols! Unlikely strings are assigned narrow intervals more bits required to represent them Advantage over Human: interval widths need not be powers of 1/2! this causes a disadvantage: actually computing the intervals can be messy Jim Diamond, Jodrey School of Computer Science, Acadia University Chapter 4 43 Arithmetic Compression: Implementation Issues See textbook for algorithms Do we need innite-precision arithmetic to compute intervals? quantities added to (a) start of interval and (b) width of interval get smaller and smaller after a while some number of the leading digits will never change, so they can be output tricky if interval overlaps 0.5 What if probabilities are repeating fractions in binary? (a) round somehow while maintaining P (ai) = 1 ?? (b) estimate them in a way to avoid this in rst place how? (good exam question) Jim Diamond, Jodrey School of Computer Science, Acadia University Chapter 4 44 Arithmetic Compression: Implementation Issues 2 What is the actual compressor output? one approach: use lower endpoint another approach: use midpoint in fact, you can just pick any (shortest) number in the nal interval to represent input Decoder must know how many bits it received (problem in last byte!) one solution: add an EOF symbol to the set of possible input symbol assign it an extremely small probability this gives it a relatively long associated bit string, but that only occurs once another solution: send count of input symbols before compressed data online problem? Jim Diamond, Jodrey School of Computer Science, Acadia University Chapter 4 45 Arithmetic Compression: Implementation Issues 3 Both encoder and decoder need to know model of data i.e., what is P (ai ) (ai A)? and this may change after every symbol is encoded! If encoder has to send the model to the decoder, there may be considerable overhead If encoder and decoder share a particular data model, they may not be applicable to a variety of types of data Jim Diamond, Jodrey School of Computer Science, Acadia University Chapter 4 46 Arithmetic Compression vs. Human Generating and outputting arithmetic codes individually for each symbol (rather than one code for a sequence) gives worse results than Human Generating codes for (long) sequences: Human: too many combinations for length-m sequences: |A|m arithmetic compression: no problem (except for implementation details!) If many symbols, distribution not too skewed, Human does OK extra complexity of arithmetic coding may not be worth it Adaptive compression: Human: need to update or rebuild tree arithmetic: just change current interval sizes Jim Diamond, Jodrey School of Computer Science, Acadia University Chapter 4 47 Adaptive Compression For Human coding, model of data is a set of probabilities which determines a set of bit strings For arithmetic compression, model of data is a set of probabilities which determines a set of intervals How is model dened? statistics from entire input le statistics from all symbols seen so far statistics from rst n input symbols statistics from most recently seen m symbols recompute statistics every k symbols combine this with either of previous two Jim Diamond, Jodrey School of Computer Science, Acadia University Chapter 4 48 Adaptive Compression: 2 Recomputing model frequently not necessarily desirable compute intensive more dicult to implement correctly What should initial model be? it could contain all possible symbols, with some initial PDF guess it might take a long time for probabilities to converge to representative values it could contain no symbols at all add them as needed need escape codes to signify that next bits represent a new symbol, not regular compressed data Jim Diamond, Jodrey School of Computer Science, Acadia University Chapter 4 49 Adaptive Human (Sketch) Each leaf in the Human tree keeps a count of how many times its symbol has been seen Each internal node in the tree keeps a count of the sum of all leaves below it To encode the next symbol s: if the symbol has been seen, encode it with its current code otherwise, use an escape code After encoding the symbol: if there is a node for s in the Human tree, increment it; otherwise nd the node N in the tree with smallest count, create a new node N for s with count 1, create a new internal node N and make N and N sons of N Verify the tree is still valid: because counts have changes, it may need to be rebalanced See text (Chapter 3) for details Jim Diamond, Jodrey School of Computer Science, Acadia University Chapter 4 50 Adaptive Human: 2 If statistics are generated using previous m symbols, counts in nodes will sometimes decrease tree re-balancing also needed here may even need to delete tree nodes Interesting idea. Useful in practice? Jim Diamond, Jodrey School of Computer Science, Acadia University Chapter 4 51 Adaptive Human: Examples Example: Human coding of a 41082428 byte sound le (16-bit stereo) non-adaptive Human: 32191987 (78.6% compression) adaptive Human: 32147909 (78.3% compression) dierence very, very small in this example Example: Human coding of a 31978 byte sound le (8-bit mono) non-adaptive Human: 25280 (79.0% compression) adaptive Human: 24933 (78.0% compression) Better: predictive (and adaptive, for large sound le) linear prediction: 26534322 (64.6% compression) quadratic prediction: 27317512 (66.5% compression) Jim Diamond, Jodrey School of Computer Science, Acadia University Chapter 4 52 Adapting To Windows of Data Re-start compression every k symbols (or maybe when l bits have been output) Disadvantages may have overhead of transmitting model (statistics) adaptive: lose (statistical) from info recent data Advantages if data changing quickly, may get better overall compression if bit(s) corrupted in transmission, only the data to the next window is corrupted (if decoder can nd window boundary!) e.g., video data: a full frame is occasionally sent, and next few frames are encoded by sending dierences between adjacent frames (very roughly speaking) if there is an error in a full frame, the next few frames probably also will have errors Jim Diamond, Jodrey School of Computer Science, Acadia University Chapter 5 Jim Diamond, Jodrey School of Computer Science, Acadia University Chapter 5 53 Dictionary Techniques Human (and Shannon-Fano) compressors input xed-size symbols and generate variable-size outputs Alternative: generate xed-size outputs, each from a variable number of input symbols Example: English text some words occur frequently (the) some strings occur frequently as sub-words (th, gh, ...) Idea of dictionary techniques: have some dictionary (list of strings) that the compressor and decompressor know if the compressor sees a string in the dictionary, it outputs a code referring to this string, rather than the string itself Jim Diamond, Jodrey School of Computer Science, Acadia University Chapter 5 54 Dictionary Techniques 2 Example: suppose dictionary is 0: the 1: computer 2: string 3: poodle and the compressor input is the poodle ate two strings then the compressor output could be 0 3 ate two 2 s dictionary index can be represented with 2 bits (in this case) literals can be represented in (e.g.) ISO-8859-1 Need some way to distinguish a dictionary index from literal data overhead! How big is the dictionary? Should it stay constant? Where does it come from? Jim Diamond, Jodrey School of Computer Science, Acadia University Chapter 5 55 Dictionary Techniques: Ziv and Lempel (1977) (LZ77, aka LZ1) Idea: sliding window moves through text to be compressed two parts: text that has been compressed, text to be compressed ts: text that has been compressed, text to be compr Compressor: look in search buer (on left) for beginning of look-ahead buer (on right) the t matches the last t of that te doesnt match t ; look back further for longer matches text t at beginning of look-ahead buer is longest match compressor outputs (31,6,o) i.e., index from end of search buer, match length, next char why do we need next char? Window then slides ahead 7 chars More exible dictionary structure than previous slide Jim Diamond, Jodrey School of Computer Science, Acadia University Chapter 5 56 LZ78 (aka LZ2): New and Improved Various people proposed improvements to LZ77, but there are some problems size of look-ahead buer trade-o: frequent words may not be close enough together search time, bits required to represent oset & length increase with buer size Jim Diamond, Jodrey School of Computer Science, Acadia University Chapter 5 56 LZ78 (aka LZ2): New and Improved Various people proposed improvements to LZ77, but there are some problems size of look-ahead buer trade-o: frequent words may not be close enough together search time, bits required to represent oset & length increase with buer size LZ78: dictionary starts with only one entry (the null string), then grows as strings are added to it At each step match (in dictionary) as much of uncompressed text as possible output corresponding dictionary index plus next char add that text + unmatched symbol to dictionary <<cut to demo>> Jim Diamond, Jodrey School of Computer Science, Acadia University Chapter 5 57 LZ78: Issues Should dictionary increase without bound? If not should it stay static at some upper limit, or should entries be removed according to some rule? How should dictionary be represented for ecient compression? Should length of dictionary index grow as dictionary grows? Jim Diamond, Jodrey School of Computer Science, Acadia University Chapter 5 58 Variations on LZ77: LZSS et al Output tokens with 2 elds, not 3 omit the next char eld (how?? YA good exam question) Use circular buer to store sliding window save CPU time moving chars around Hold search buer in BST see text for other possibilities for speeding searching Other variations: gzip, pkzip, ... these follow LZ with Human (see text) Jim Diamond, Jodrey School of Computer Science, Acadia University Chapter 5 59 Variations on LZ78: LZW I...

Textbooks related to the document above:
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Cuyamaca College - COMP - 5113
Data Compression Notes COMP 4923/5113 Chapters 4 6Jim Diamond Jodrey School of Computer Science Acadia UniversityChapter 440Statistical Compression: Once More, With FeelingHuman compresses a sequence of input symbols into a sequence of bit
CSU Fullerton - OPS - 235
OPS235IntroductiontoOpenSystemServersLabLogBookName:_StudentID:_ Semester:_F/W/S (year) HardDiskSerialNumber:_ ItemDescription Lab1 Lab2 Lab3 Lab4 Lab5 Lab6 Lab7 Lab8 Lab9 Lab10 Assignment1 Assignment2 Practicaltest1 Practicaltest2 DueDate Dateof
Cuyamaca College - COMP - 2103
COMP 2103X1 Assignment 10Due Thursday, November 13 by 7:00 PM General information about assignments (important!): http:/cs.acadiau.ca/~jdiamond/comp2103/assignments/General-info.html Information on passing in assignments: http:/cs.acadiau.ca/~jdiamo
Cuyamaca College - COMP - 3713
COMP 3713X1 Assignment #4Due Wednesday, November 12 in class See ALL of the notes at the end of the assignment.[1] This problem will investigate the efficiency of using threads versus using separate processes. You will have each thread or child pr
Cuyamaca College - COMP - 2103
ATOF(3)Linux Programmers ManualATOF(3)ATOI(3)Linux Programmers ManualATOI(3)NAMEatoi, atol, atoll, atoq convert a string to an integerNAME SYNOPSIS#include &lt;stdlib.h&gt;atof convert a string to a doubleSYNOPSIS#include &lt;stdlib.h&gt;
Cuyamaca College - COMP - 3713
COMP 3713 - Operating Systems Slides Part 3Jim Diamond CAR 409 Jodrey School of Computer Science Acadia UniversityAcknowledgementsThese slides borrow heavily from those prepared for &quot;Operating System Concepts&quot; (eighth edition) by Silberschatz,
Cuyamaca College - COMP - 3713
COMP 3713 Operating Systems Slides Part 2Jim Diamond CAR 409 Jodrey School of Computer Science Acadia UniversityAcknowledgementsThese slides borrow heavily from those prepared for Operating System Concepts (eighth edition) by Silberschatz, Gal
Cuyamaca College - COMP - 3713
COMP 3713 Operating Systems Slides Part 1Jim Diamond CAR 409 Jodrey School of Computer Science Acadia UniversityAcknowledgementsThese slides borrow heavily from those prepared for Operating System Concepts (eighth edition) by Silberschatz, Gal
Cuyamaca College - COMP - 3713
COMP 3713 Operating Systems Slides Part 4Jim Diamond CAR 409 Jodrey School of Computer Science Acadia UniversityAcknowledgementsThese slides borrow heavily from those prepared for Operating System Concepts (eighth edition) by Silberschatz, Gal
Cuyamaca College - COMP - 2103
COMP 2103X1 Assignment 9Due Thursday, November 6 by 7:00 PM General information about assignments (important!): http:/cs.acadiau.ca/~jdiamond/comp2103/assignments/General-info.html Information on passing in assignments: http:/cs.acadiau.ca/~jdiamond
Cuyamaca College - COMP - 2103
COMP 2103X1 Assignment 4Due Thursday, October 2 by 7:00 PM General information about assignments (important!): http:/cs.acadiau.ca/~jdiamond/comp2103/assignments/General-info.html Information on passing in assignments: http:/cs.acadiau.ca/~jdiamond/
Cuyamaca College - MATH - 3233
cereal=read.table(&quot;cereal_data.txt&quot;,skip=27,header=TRUE)attach(cereal)x1=calories; x2=protein; x3=fat; x4=sodium; x5=fiber; x6=carbo; x7=sugars; x8=potass; x9=vitamins; x10=weight; x11=cups;y=rating;newdata = data.frame(cbind(y,x1,x2,x3,x4,x5,
Cuyamaca College - MATH - 3233
The model asssumptions are: (a) Overall good fit (randomness in the data and outliers) (b) Normality of errors (c) Linearity (d) Constant variance (homoscedastic errors) The following figures show the necessary diagnostic plots for commenting on the
Cuyamaca College - MATH - 2213
Acadia University Math 2213 Midterm 1 October 15, 2008 Name: Question Value Mark 1 4 ID: 2 8 3 8 Section: 4 10 Total 30Note: for this test, you may use the Basic Statistical Procedures and Tables, provided with the exam. Please answer all question
Cuyamaca College - MATH - 3233
#-# function for diagnostic plots#-diagnostic_plots &lt;- function(x,y,res,fit){par(mfrow=c(2,3);plot(x,y)abline(fit)# testing outliers# Randomness in the data# testing constant variance (as a function of time)boxplot(res)plot(res
Cuyamaca College - MATH - 3233
# -# Diagnostics for multiple regression # -# Assumptions: # (a) Non-linearity [partial residual plots]# (b) Non-constant variance [boxcox - compare R2]# (c) non-normality [Normal QQ plots]# (d) Outliers [DFFITS, Cook's distance, DFBETAS,LEVER
CSU Fullerton - OPS - 535
1OPS535Open System Clusters Advanced TCP/IP Network AdministrationDNS &amp; BINDSeneca College of Applied Technology2What is DNS?DNS is a hierachical,distributed database for resolving Host Name to IP DNS contains information forMapping reg
CSU Fullerton - OPS - 535
Introduction to MTAAn Internal Mail RouterSendmailMTA and Post OfficeMTA is similar to a Post Office in many ways, but superior in the following: Delivery typically takes seconds rather than days. Address changes (forwarding) take effec
Cuyamaca College - MATH - 3233
# I downloaded the data &quot;detroit.txt&quot; from http:/lib.stat.cmu.edu/datasets/# I can email you the NBA data if you like.# The following are some R commands I used for fitting &quot;linear regression model&quot; in the class# (1) You can try # &gt; help(
Cuyamaca College - MATH - 2213
Acadia University Math 2213 Midterm 2 November 12, 2008 Name: Question Value Mark 1 2 ID: 2 6 3 6 Section: 4 6 Total 20Note: for this test, you may use the Basic Statistical Procedures and Tables, provided with the exam. Please answer all question
Cuyamaca College - MATH - 2213
5. Geometric distributionParameter:X = number of Bernoulli trials needed to get one success Support: Y = number of failures before the first success Support:CDF of Y is given by:CDF of X is given by:Parameters:6. Negative Binomial distrib
Cuyamaca College - MATH - 2213
Allan Hancock College - SDVIS - 5014
Web GIS for dummies and also incredibly intelligent Post Grad StudentsDarren Holliday GISCA, University of Adelaidedhollida@gisca.adelaide.edu.au www.gisca.adelaide.edu.au/~dhollidaNational Key Centre for Social Applications of GISIntroduction:
Cuyamaca College - MATH - 2213
The CDF plot is:Please ignore the vertical lines in the plot
Cuyamaca College - MATH - 3233
Note that the dataset has 76 observations and 21 predictor variables. Assuming that only a few of the predictors should be important, we should first look at the correlation among the predictor variables. This may direct us to remove some of the pred
Cuyamaca College - MATH - 3233
(a)The decimal point is at the | 0 | 0000000000000000 2 | 00000000000000000000000 4 | 00000 6|0 8|0 10 | 00 12 | 00000 X1 14 | 0000000000000 16 | 0000000000 18 | 000 20 | 00The decimal point is at the | 2|0 4 | 080003358 X2 6 | 012613 8 | 0000122
East Los Angeles College - CE - 52402
Instructional Design Theories and ModelsLesley Drumm Staffordshire UniversityObjectives:It is hoped that, by studying Instructional Design, you will be able to build effective instruction. You will have a framework to follow when designing instru
Cuyamaca College - MATH - 2213
6. F-distribution7. Normal distribution(normal table)8. Student's t-distributionMixed examples(1) Let X be a continuous random variable with pdf given by(a) find c. (b) compute P(1&lt;X&lt;2). (c) find E(X) and Var(X) (d) find the median of X. (
Allan Hancock College - SDVIS - 5014
Quantitativeandqualitativeassessmentoftheaccuracyofneurointerpolated mean annual precipitation and temperature maps for ChinaABSTRACT This study quantitatively and qualitatively compares new mean precipitation and temperature maps o
East Los Angeles College - CE - 52401
What is the minimum number of straight lines needed to join all the dots41Mental Models and MetaphoresApplied HCI2ObjectivesAt the end of this lecture you should: Appreciate the links between cognitive processing and designing systems aro
Cuyamaca College - MATH - 3233
The Regression Zoo13th 2:00PM 15th 10:00AM
Cuyamaca College - MATH - 2213
Acadia University Math 2213 Midterm 2 November 28, 2007 NAME: SECTION(MWF or TTh): ID:1 2 3 Total Question 12 6 6 24 Value Mark Note: for this test, you may use the Basic Statistical Procedures and Tables, provided with the exam. Please answer all
Cuyamaca College - MATH - 3233
Mathematics 3233 : RegressionFinal Examination (marks)December 15, 2006 9:00 am -12:00 pm (For this Exam you may bring 4 pages of notes handwritten on one side and a copy of the BSPT)NAME_ID_Question 1 2 3 4 TotalValue 38 22 11 9 80MarkBA
Cuyamaca College - MATH - 3233
Midterm (Math 3233)October 21, 20081. [4 points] For a simple linear regression model tted to the data {(xi , yi ), i = 1, ., n}, prove thatn i=1 xi ei= 0, where ei = yi yi for i = 1, ., n. n n nSolution: xi ei =i=1 n i=1 nxi (yi yi ) =
Johns Hopkins - V - 001
Inuk th e Inve nt o rby Kim Jung-Hyuk Translated by Jenny Wang MedinaThe InterviewThe most amazing inventors in the world? And there are six of them? Of course I'd do the shoot; that decision was simple. I only remembered the five other photo
Cuyamaca College - MATH - 3233
Mathematics 3233 Regression Test, November 8, 2006 Solutions1. (30 marks) On the accompanying page is a MINITAB output of a regression in which the object is to investigate the effect of time of employment on the number of calls placed per day by te
Cuyamaca College - MATH - 2213
Most common continuous distributions1. Uniform distributionApplications: (1) Equally likely outcomes. e.g., (2) Random numbers (3) Basis for many generating random numbers from many continuous distributions.Aside: (a) Gamma function(b) Beta fu
Cuyamaca College - MATH - 2213
Math 2213 Assignment 6Due date: Oct 30 (Section A1), Oct 31 (Section B1)Show your work for all questions 1. [2 points] Q 6 (page 90) 2. [8 points] Q 10 (page 90) 3. [6 points] Q 12 (page 98) 4. #14 (page 98) [8 points] 5. #18 (page 99) [6 points]
University of Texas - PHY - 341
Modern Physics (Plan II) Einsteins 1905 Papers Fall 2007Homework #1 SolutionsGeneralThis assignment focuses on back-of-the-envelope calculations, or what are aectionately called Fermi problems. They really demonstrate that with a few key paramete
University of Texas - PHY - 341
PHY 3411Problem Set 1(Due Sept. 6, 2007)Aug. 30, 2007Reading: Innumeracy Instructions: Show all your work. Put your name, date, name of this course, problem numbers, etc. on your paper. Staple loose sheets together. Strive for legibilitywe ha
East Los Angeles College - CE - 00225
Applications Development Objects in JavaKey concepts and metaphors Implicit subclassing Static methods Constructors Instance variables Dangers of uninitialised object referencesN.A.Shulver@staffs.ac.ukApplications Development Metaphors - inherit
Laurentian - C - 3406
Question IISince the memory is 64K (= 216), we need 16 bit direct address. Since there are 8 registers, we need 3 bits to specify a register operand. 00000 RRR MMMMMMMMMMMMMMMM . 01111 RRR MMMMMMMMMMMMMMMM10000000000 RRR CCCCCCCCCC 11111111110 RRR
Cuyamaca College - MATH - 3233
Assignment 6 (Math 3233)Due date: November 04 I will grade all the questions of the assignment. Show your work, including all the intermediate steps. Do not copy the entire output given by any package. Include only the relevant output and explain it
Cuyamaca College - MATH - 3233
Assignment 1 [3233 and 3293](Due: September 16)Your assignment should be an electronic document (word, open office, pdf) that will be &quot;handed in&quot; by emailing it to your instructor. If you are enrolled in both the courses, you can email the assignm
East Los Angeles College - CE - 00225
Introduction Capturing the project requirements. Creating the project specification. Structured English.Capturing the project requirementsWhat is involved?Critical requirements. Noncritical requirements. User requirements. System requi
Cuyamaca College - MATH - 3233
Assignment 8 (Math 3233)Due December 2, 2008 [20 points] Use the McDonalds dataset to find a best relationship between Serving size (oz) and all the other variables. Proceed to conduct a complete regression analysis. See Section 9.1. This analysis w
Cuyamaca College - MATH - 3233
Assignment 3 (Math 3233)Due date: September 30 I will grade all the questions of the assignment. Show your work, including all the intermediate steps. Do not copy the entire output given by any package. Include only the relevant output and explain i
Cuyamaca College - MATH - 3233
Assignment 4 - Solution (Math 3233)Due date: October 071. [3+3 = 6 points] Question 2.22 (page 92). [Provide both mathematical and argumentative explanation for both parts.] Solution: (a) Yes, it is possible that rst 10 (n1 ) cases yield R2 = 0 wh
Laurentian - STAT - 2246
OutlineSample Spaces and Probability Lecture 9, STAT 2246Julien DompierreDpartement de mathmatiques et dinformatique e e Universit Laurentienne e25 janvier 2007, SudburyJulien Dompierre1OutlineSet Theory Probability TheoryOutline1
Cuyamaca College - MATH - 3233
R code required for the question: &gt; dat = read.table(&quot;a2data_q5.txt&quot;, head=FALSE); &gt; names(dat) = c(&quot;gpa&quot;,&quot;score&quot;); &gt; attach(dat); &gt; fit1 = lm(gpa~score); &gt; plot(score, gpa,type=&quot;p&quot;); &gt; abline(fit1);(a) By typing &quot;fit1&quot; on the R command prompt you
Cuyamaca College - MATH - 3233
Assignment 7 - Math 3233Due: Nov 18, 2008 1. [4 points] State the number of degrees of freedom that are associated with each of the following extra sum of squares: (a) SSR(X1 |X2 ) (b) SSR(X2 |X1 , X3 ) (c) SSR(X1 , X3 |X2 , X4 ) (d) SSR(X1 , X2 , X
Cuyamaca College - MATH - 3233
Solution: (a) df = 1 Assuming that the full model is E(y | X1,X2) = b0 + b1*X1 + b2*X2 [SSR(X1|X2) /1] / MSE(X1,X2) ~ F(1,n-3) and the hypothesis being tested here H0: E(y | X1,X2) = b0 + b1*X1 vs Ha: E(y | X1,X2) = b0 + b1*X1 + b2*X2 (b) df = 1 Assu
Cuyamaca College - MATH - 3233
Assignment 2 (Math 3233)Due date: September 23 I will grade all the questions of the assignment. Show your work, including all the intermediate steps. Do not copy the entire output given by any package. Include only the relevant output and explain i
Cuyamaca College - MATH - 3233
Assignment 5 (Math 3233)Due date: October 16 I will grade all the questions of the assignment. Show your work, including all the intermediate steps. Do not copy the entire output given by any package. Include only the relevant output and explain it
Cuyamaca College - MATH - 3233
3.201209(3.061384, 3.341033)(3.061, 3.341)(1.959355, 4.443063)(1.959, 4.443)Note: A confidence interval `tries to catch' the population mean. (Thus it has a `fixed target'.) In contrast, a prediction interval `tries to catch' ONE SINGLE NEW
East Los Angeles College - CE - 00227
Practical Worksheet 6OPNET v9Pt1Student Download VersionNetwork Security - Firewalls and Virtual Private Networks Please Note For this worksheet, in addition to answering the questions at the end, you will have to submit screenshots of the grap
Cuyamaca College - MATH - 3233
Assignment 1 [3233 and 3293](Due: September 16)[1+1+3+2+2+2 = 11 points] Use the existing data &quot;cars&quot; [you can find all existing data on R by typing &quot;data()&quot;] for answering the following questions. a. Find the total number of observations. b. Find
Cuyamaca College - MATH - 3233
CSU Fullerton - SRT - 0801
SRT210Week TwoWeek OverviewDisaster Recovery Data Backup Tools Types of Backup Backup Storage MySQL AdministrationDisaster RecoveryDisaster Recovery is a process meant to reverse the effects of a natural and/or human-caused disasterThe list
Cuyamaca College - MATH - 3233
Cuyamaca College - MATH - 3233
Chapter 2Matrices, Random Variables, and Distributions2.1 Some Matrix Algebraan r c matrix given by a1c a2c . . . arcA matrix A = (aij ), i = 1, 2, . . . , r, j = 1, 2, . . . , c is said to be a11 a12 . . . a21 a22 . . . A= . . . . . .