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

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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