What are inverse least squares

Assignment Help C/C++ Programming
Reference no: EM13939565

The data for these calculations are:
knowns.xyz contains the spectra of twenty known samples, concentrations.xyz contains the concentrations of a target chemical T in each of the twenty samples, and unknowns.xyz gives the spectra of fifteen more samples whose concentrations of T you will predict. Concentrations2xyz is just to compare values afterwards.

Also, no particular reason for long rows vs. long columns.

Data to apply to regression is
*I thought I was on the right track here, but my plot is not really comparable to what it should be* Any help is greatly appreciated!

The fundamental relationship between a measured spectral data matrix S and the associated analyte concentration matrix C is
S = CP + N; spectra are represented as matrix rows
The ordinary least squares (OLS) estimate of the concentration values is
C = SP^T(PP^T)^-1:
If we want to predict the concentration of just one target chemical T in a new sample, we could simply use the first column of Pt(PPt)-1, call it a vector b^t, and calculate
c = sb^t (1)
where s is the sample's spectrum.

1. Inverse least squares. The simplest thing you can do is to say, I can just solve
Eq. 1 by least squares to get an estimate of b." This is called Inverse Least Squares (ILS).

(a) Solve Eq. 1 for an algebraic expression for b.

(b) There is an inverse in your answer. State what constraint that places on your ex-perimental design, i.e. , what balance is required between numbers of samples, wave-lengths, pure components, etc. to guarantee that the inverse will exist?

(c) Select the intensities at the discete pixels 100, 200...1000 from the spectra in knowns and call this your S matrix. (In Matlab, this would mean typing something like
>>S = S(100:100:end).) Use ILS to generate b, and then predict the concentration
of T in unknowns. Scatter-plot your predictions versus the true values, which are
provided in concentrations2.xyz.

Reference no: EM13939565

Questions Cloud

Calculate the markup that jeremy will use : Jeremy Costa, owner of Costa Cabinets Inc., is preparing a bid on a job that requires $1,800 of direct materials. Calculate the markup that Jeremy will use. What is Jeremy's initial bid price?
Problem regarding the communication performance : Based on the presentation provided, Please answer the following questions step by step. Question C1 Evaluation and reflection a) Reflecting on your presentation, evaluate your own communication performance.
What are some possible immediate and prophylactic treatment : What are the mechanisms and the mediators of anaphylactic shock? Discuss the type of hypersensitivity reaction and the molecular mechanisms of anaphylactic shock. What are some possible immediate and prophylactic treatment and how do they work?
Responsibilities and liabilities of managers : Design a template that could be used for a workplace policy of your choice. What are the legal responsibilities and liabilities of managers in terms of health and safety in the workplace?
What are inverse least squares : The data for these calculations are:knowns.xyz contains the spectra of twenty known samples, concentrations.xyz contains the concentrations of a target chemical T in each of the twenty samples, and unknowns.xyz gives the spectra of fifteen more sa..
How did the combination of human medical advances : Consider (and read about as necessary) the phenomenon of bacterial resistance to antibiotics. How did the combination of human medical advances and basic evolutionary principles lead to this situation? How is it a threat to humans and how might we..
Committee appointing a new pr agency for your company : You are part of the selection committee appointing a new PR agency for your company. What would your agenda be for the interviews?
Description of its distinctive role in the cj system : Research the background and history of your agency to develop a full description of its distinctive role in the CJ system. What are you agency's goals
Applications of when leveling is used : 1. Provide three industry related applications of  when leveling is used. 2. Your team is required to conduct a leveling job that is estimated to take 2-3 days to complete. How would you properly complete the job without starting each day on the sa..

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write a function named read_line

supposes you have a directory whose name is stored in 'specs.file_dir' which contains a file whose name is stored in 'specs.file_name'.

  Displays all the numbers

write a java program that displays all the numbers from 100 to 200, ten per line, that are divisible by 5 and 6 .

  Write a function that permanently swaps two integers

Write a function that permanently swaps two integers using pointers.

  The program will read integers values

Write a C++ program to do the following. The program will read integers values one at a time from standard input (cin) until you read the value 150. assume that the number of values read in is at least 1 and less than or equal to 100

  A store with a bag of groceries

write C++ statements that remove all the items from storeBag and place them into one of two new bags, as follows: Place all occurrences of bread and eggs into fragileBag, and all other items into groceryBag. When you are done, storeBag should be empt..

  What is the output of this code fragment as it is written

In the code fragment below, the programmer has almost certainly made an error in the first line of the conditional statement.

  Write function compute square root together with prototype

Write a C++ function called compute together with its prototype that is passed 2 integers, A and B and returns the square root of A2+B2 ,as a double.

  Write program that print a diamond shape featuring asterisk

For this assignment, we will need to write a c++ program that is print out a diamond shape featuring the * asterisk to the console window. Please submit .cpp file.

  Develop classes describing various types of buildings

Describe how inheritance might be used to develop classes describing various types of buildings.

  Generate a two-dimensional array

Generate a two-dimensional array of integers of 10 rows by 10 columns that contains 100 random numbers between 0 and 9. Print out the array (well formatted) and do the following computations

  Inheritance and output formatting

Inheritance and Output Formatting, finish the implementation of class name and derived classes person and employee in the following code. Format the output neatly using setw() and or other setioflags features

  Describe exactly why an exhaustive key search

Describe exactly why an exhaustive key search will not succeed even though sufficient computational resources are available. This is a paradox since we know that the OTP is unconditionally secure.

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