Health economics question Grossman model question – urgent help required. an individual in the Grossman model suddenly develops hypochondriasis. a)

Health economics question

Grossman model question – urgent help required.

an individual in the Grossman model suddenly develops hypochondriasis.

a) How would this affect her optimal level of health? Explain your answer in the light of the three roles that health plays in the model (a consumption good, an input into production and a form of stock/capital). Use appropriate diagrams to facilitate your explanation.

B)the hypochondriac suddenly wins a lottery of $1 million. How does this exogenous income shock change decisions about her health status?

Help with C++

I’m working on a Computer Science question and need guidance to help me study.

This assignment is the first of a two-part solution and will count for Lab #11, with the second part counting as Lab #12.

Graph and Input File

The data file posted in this module, contains a data set with information on a social media network (Facebook). This is a real data set with anonymized names from the data competition site Kaggle_(links to an external_site.) — lots more to explore there, by the way!

The format of the file is CSV (which you used in previous labs) but this time there are more fields in each row. The file forms an adjacency matrix for 200 people. Each row contains the name in the first field, then a series of 0 or 1 indicating whether that person is a friend of the person in that column. If there is a 1 in that column, the two people are friends (they are connected to each other in the graph), otherwise they are not. The graph is not connected — there are some disconnected “islands” of people in the file.

The supplied file starter.cpp builds a graph using a std::map structure from the data, where the “key” is the person’s name (a string) and the “value” is a Person structure holding the adjacencies:

struct Person {
vector<string> friends;
};

The ‘friends’ field is a list of neighbors, identified by their integer index into an array of names, which is also that person’s key in the map. For example, if friends[1] is 1, that person is adjacent to the person with column index 1. There are no weights in this graph; two people are either connected or not.

Assignment

Write a program that prompts the user for the names of two people, and output whether or not there is a path between them in the graph. You can output only a yes/no answer (no printing of the path is required). Continue looping for more input until the user enters ‘X’ for a name.

Hints

Use depth-first search (DFS) or breadth-first search (BFS), either recursive or interative, and stop the search when you reach the target node.

You will need to keep track of which nodes have been “visited” somewhere in your code.

Note that the first column (names) can be either a first name, or a first and last name. Like most data sets, this one could use some cleaning.

What to submit

Submit only your .cpp file for the solution.

Example Input/Output

Here are a few examples to try to make sure your code is working:

Enter the starting name (X to quit): Mirza Khan

Enter the ending name (X to quit): Amir
There IS a path between these two people.

Enter the starting name (X to quit): Tu Viloria

Enter the ending name (X to quit): Isabelle
There IS a path between these two people.

Enter the starting name (X to quit): Ali Ghufron

Enter the ending name (X to quit): Michael Felix
There is NOT a path between these two people.

Enter the starting name (X to quit): Hanno Plitz

Enter the ending name (X to quit): Denno
There is NOT a path between these two people.

Enter the starting name (X to quit): X

Exiting...

starter.cpp:

#include <fstream>

#include <iostream>

#include <sstream>

#include <vector>

#include <map>

#include <iomanip>

#include <cstdlib>

using namespace std;

//

// This file provides a starting point for Lab #11. It reads the

// input file (.csv), builds a graph from the adjacencies in the file,

// and will print the friends list for any node requested.

//

// The graph is a simple adjacency list format — each node (struct Person)

// contains a string vector of all of its friend nodes.

//

#define IS_QUIT(s) (s == “X” || s == “x”)

#define FILENAME “facebook.csv”

using namespace std;

struct Person {

vector<string> friends;

};

void parse_line(const string &str,

vector<string> &line) {

istringstream istr(str);

string tmp;

while (getline(istr, tmp, ‘,’)) {

line.push_back(tmp);

}

}

int main() {

ifstream inFile(FILENAME);

vector<string> row;

vector<string> names;

map<string, Person> everyone;

string inputLine;

// Verify that the file open was OK

if (!inFile.good()) {

cerr << “Invalid file.” << endl;

return (-1);

}

// Read the header line of the file (first line, contains column labels).

// We save this line (names) so we can lookup the string names in the

// below loop.

getline(inFile, inputLine);

parse_line(inputLine, names);

// Reach each subsequent entry

while (getline(inFile, inputLine)) {

if (inFile.eof())

break;

vector<string> row;

Person p;

parse_line(inputLine, row);

// Start at 1 (0th field is the string name)

for (size_t i = 1; i < row.size(); i++) {

int adj_status = atoi(row[i].c_str());

// A ‘1’ indicates an adjacency, so skip if we get a ‘0’

// If there is an adjacency to this person, push the string name

// of that person on the adjacency list.

if (adj_status == 1)

p.friends.push_back(names[i]);

}

// Add this (new) person to the map.

// In this map, the key is the string name of the person, and

// the value is their Person structure (adjacency list).

everyone.insert(make_pair(row[0], p));

}

for (;;) {

cout << endl << “Enter the name “

<< “and I’ll tell you their friends (X to quit): “;

getline(cin, inputLine);

if (IS_QUIT(inputLine))

break;

// Look up the adjacency list of this person in the map

if (everyone.count(inputLine) == 0) {

cout << “That person is not in the map.” << endl;

continue;

}

Person this_person = everyone[inputLine];

// Output all their friends

cout << inputLine << ” is friends with: ” << endl;

for (size_t i = 0; i < this_person.friends.size(); i++) {

cout << “t” << this_person.friends[i] << endl;

}

}

cout << “Exiting…” << endl;

return (0);

}

GBA-334-OL03 Module 6 Quiz

I’m trying to learn for my Business class and I’m stuck. Can you help?

This quiz contains 10 multiple-choice questions. Most questions will require computation using software (Excel, Excel QM, QM for Windows, etc.) with a numerical answer that will be found among the multiple choices. Some questions may either cover a theory, a definition, and/or applications with a short textual answer that will be found among the multiple choices. You will have one hour to complete the quiz.

NOTE: You may not exit and re-enter the quiz.

Complete Quiz 3 no later than Sunday 10:00 PM EST/EDT.

Log in info will be provided

its an annotated bibliographies , There is an example

I’m studying for my English class and need an explanation.

Length: about 900-1,500 words (about 3-5 pages)

Conferences: Wednesday, January 15

Peer Response: Wednesday, January 22

Creating an annotated bibliography gives you the chance to explore what kinds of sources are out there relating to a particular topic. (See the attached document for an example of what an annotated bibliography looks like, and what it’s supposed to do.)

Look for any sources you can find relating to your topic. (Your topic should somehow relate to the Mared and Karen case. What information can you research and contribute to our conversation about this case, in order to help us understand the case a little more clearly? The possible perpetrators? The culture of Morgantown in the late 1960s/early 1970s? The treatment of women in Morgantown during this period? Anything else you can contribute to the conversation?)

In your annotated bibliography, you should cite any of the sources that you find, in alphabetical order. (You can cite your sources using either MLA format, or you can use the specific citation format that is used in your major.) After each citation, you should provide a brief summary of the source, as well as why you think that particular source could be useful for your research. You should also provide a brief preface at the beginning of your annotated bibliography that explains the tentative topic that you’re thinking of researching.

Provide a 2 pages analysis while answering the following question: Evaluations and Assessments. Prepare this assignment according to the guidelines found in the APA Style Guide. An abstract is require

Provide a 2 pages analysis while answering the following question: Evaluations and Assessments. Prepare this assignment according to the guidelines found in the APA Style Guide. An abstract is required. Evaluations and Assessments based on Washington (WA) Social Studies Standards for Elementary Level Grades 2 Social Studies education in Washington State is designed to develop responsible citizens living in a culturally diverse and democratic society.

Evaluation and Assessments

Two types of assessments have been defined viz. Classroom based Assessments (CBAs) and Classroom based Performance Assessments (CBPAs). The first are referred to as assessments for short and the second as evaluation (because it seeks to evaluate student performance).

Classroom based assessments are assessments that are given to students in the classroom by the class teacher. They are multi-stepped tasks or projects aligned to specific state learning standards. They were designed by the Office of Superintendent of Public Instruction. The state curriculum specialists design tasks and questions that model how assessments should be conducted and then provide these to local school districts.

The purpose of these assessments is to ensure that students are acquiring the essential skills, concepts and subject knowledge in social studies. that they have the opportunity to engage in a broad range of social topics that include civics, economics, geography, history, and general social studies skills. The plan is to eventually these across the state by 2008-09 in order to measure student learning in social studies. 9 CBAs are targeted for elementary school. They are believed to be better able to assess the subject as compared to standardized multiple choice and short answer questions for instance as well as have other advantages.

The main component of the CBA is the rubric page. This details how a student can reach proficiency for the particular assessment. Besides this, the CBA mentions support materials, provides a student checklist, suggested resources etc.

Formal and Informal Assessments

Both formal and informal assessments are similar in that they seek to provide a measure of student performance, usually as a summative assessment of learning. However, formal assessments are conducted under stricter exam conditions because their scores are noted on the student records. On the other hand, informal assessments are typically used to provide students with practice for the real formal assessments and may not be conducted under such strict conditions. The CBA issued by the Office of Superintendent of Public Instruction are formal assessments. Any other student assessments conducted entirely by the teacher would be considered as informal.

Application

The Content and Regional Focus for GLEs for grade 1 is based as Families and the concepts of near and far, now and then. for grade 2 is based on Community and the same concepts. A simple example of a pre-assessment question is given below.

1. Here are some relationships. Which one is the nearest to you?

a) grandmother

b) mother

c) teacher

d) cousin

Another question could test the student’s knowledge and understanding of a simple family tree structure. For instance, a sample family tree could be drawn and the student asked to identify certain relationships by looking at the tree.

Discussion board technical writing week 7

After reading Chapter 7, do Exercise 4 on page 176. (Note: Figure 7-5 is on page 179.)

Limit your initial thread post to 150-200 words

Last year, the nation of Tigerland imported goods totaling $500 million and exported products totaling $683 million. Tigerland experience a(n):…

54.Last year, the nation of Tigerland imported goods totaling $500 million and exported products totaling $683 million. Tigerland experience a(n):

favorable balance of trade.

benefit from membership in a free trade zone.

trade deficit.

unfavorable balance of trade.

Lakshmi Mittal and the Growth of Mittal Steel

Need detailed analysis that answers the following. APA format. 5pages. 3-5 refernces and sitations.

  • What forces drove Mittal Steel to start expanding across national borders?
  • Mittal Steel expanded into different national through mergers and acquisitions, as opposed to Greenfield investments. Why?
  • What benefits does Mittal Steel bring to the countries that it enters? Are there any drawbacks to a nation when Mittal Steel invests there?
  • What are the benefits to Mittal Steel from entering different nations?
  • The acquisition of Arcelor was very acrimonious, with many politicians objecting to it.  Why do you think they objected? Where their objections reasonable

homework

After reading “The Maker’s Eye: Revising Your Own Manuscript” (pp. 109-113). Answer the following questions:

  1. What part of the process is most important to you? (Prewriting/Discovery; Drafting; Revision; Editing/Final) (100- 150 words)
  2. How do you feel when approaching a writing assignment? Are you confident? Stressed? (100- 150 words)
  3. In week two, you will write an essay explaining your writing process. Compose a working thesis statement about your writing process. Be sure to include: 1) How effective your writing process is. 2) three key points that support your main idea of the effectiveness or ineffectiveness of your writing. Thesis statement should be one sentence.
  4. Respond to the following statements from Murray’s essay. (250 words)

“When students complete a first draft, they consider the job of writing done—”

“A piece of writing is never finished. It is delivered to a deadline, torn out of the typewriter on demand, sent off with a sense of accomplishment and shame and pride and frustration. If only there were a couple more days, time for another run at it, perhaps then … .”

Write a tall tale in which you are the hero. Explain how physical strength, courage, and intelligence helped you become a hero. Don’t forget to…

Write a tall tale in which you are the hero. Explain how physical strength, courage, and intelligence helped you become a hero. Don’t forget to mention your good looks and charming personality. Be sure to exaggerate your accomplishments