Document:

<PAGE>

                                                                 EXHIBIT 4.6(g)

                       SIXTH AMENDMENT TO CREDIT AGREEMENT

     THIS SIXTH AMENDMENT TO CREDIT AGREEMENT, dated as of December 30, 2002
(this "Amendment"), amends the Credit Agreement, dated as of February 13, 1996,
as heretofore amended (as so amended, the "Credit Agreement"), between The PMI
Group, Inc., a Delaware corporation (the "Company") and Bank of America, N.A.
(formerly known as Bank of America National Trust and Savings Association) (the
"Bank"). Terms defined in the Credit Agreement are, unless otherwise defined
herein or the context otherwise requires, used herein as defined therein.

     WHEREAS, the parties hereto have entered into the Credit Agreement, which
provides for the Bank to extend certain credit to the Company from time to time;
and

     WHEREAS, the parties hereto desire to extend the Credit Agreement and amend
the Credit Agreement in certain respects as hereinafter set forth;

     NOW, THEREFORE, in consideration of the premises and for other good and
valuable consideration (the receipt and sufficiency of which are hereby
acknowledged), the parties hereto agree as follows:

     SECTION 1 AMENDMENT. Subject to the satisfaction of provisions of Section 2
below, effective as of December 30, 2002:

     SECTION 1.1 Termination Date. The definition of "Termination Date" in
Section 1.1 of the Credit Agreement is hereby amended by the deletion of the
date "December 30, 2002" and the substitution of the date "December 29, 2003"
therefor.

     SECTION 1.2 Consolidated Net Worth. Section 7.11(a) of the Credit
Agreement is hereby amended to state in its entirety as follows:

     "(a) the Consolidated Net Worth to be less than $1,500,000,000."

     SECTION 1.3 Statutory Capital. Section 7.1l(d) of the Credit Agreement is
hereby amended to state in its entirety as follows:

     "(d) the Statutory Capital of PMI Mortgage Insurance Company to be less
than $1,500,000,000."

     SECTION 2 CONDITIONS PRECEDENT. This Amendment shall become effective as of
December 30, 2002 subject to the satisfaction of each of the conditions
precedent set forth in this Section 2.

     SECTION 2.1 Receipt of Documents. The Bank shall have received all of the
following documents duly executed, dated the date hereof or such other date as
shall be acceptable to the Bank, and in form and substance satisfactory to the
Bank:

          (a)  Amendment. This Amendment, duly executed by the Company and the
     Bank.

<PAGE>

          (b)  Secretary's Certificate. A certificate of the secretary or an
     assistant secretary of the Company, as to (i) resolutions of the Board of
     Directors of the Company then in full force and effect authorizing the
     execution, delivery and performance of this Amendment, and (ii) the
     incumbency and signatures of those officers of the Company authorized to
     act with respect to this Amendment and each other document described
     herein.

     SECTION 2.2 Compliance with Warranties, No Default, etc. Both before and
after giving effect to the effectiveness of this Amendment, the following
statements by the Company shall be true and correct (and the Company, by its
execution of this Amendment, hereby represents and warrants to the Bank that
such statements are true and correct as at such times):

          (a)  the representations and warranties set forth in Article V of the
     Credit Agreement shall be true and correct with the same effect as if then
     made (unless stated to relate solely to an earlier date, in which case such
     representations and warranties shall be true and correct as of such earlier
     date); and

          (b)  no Event of Default or Default shall have then occurred and be
     continuing.

     SECTION 3 REPRESENTATIONS AND WARRANTIES. To induce the Bank to enter into
this Amendment, the Company represents and warrants to the Bank as follows:

     SECTION 3.1 Due Authorizations, Non-Contravention, etc. The execution,
delivery and performance by the Company of this Amendment are within the
Company's corporate powers, have been duly authorized by all necessary corporate
action, and do not

          (a)  contravene the Company's Organization Documents;

          (b)  contravene any contractual restriction, law or governmental
     regulation or court decree or order binding on or affecting the Company; or

          (c)  result in, or require the creation or imposition of, any Lien on
     any of the Company's properties.

     SECTION 3.2 Government Approval, Regulation, etc. No authorization or
approval or other action by, and no notice to or filing with, any governmental
authority or regulatory body or other Person is required for the due execution,
delivery or performance by the Company of this Amendment.

     SECTION 3.3 Validity, etc. This Amendment constitutes the legal, valid and
binding obligation of the Company enforceable in accordance with its terms.

     SECTION 4 MISCELLANEOUS.

     SECTION 4.1 Continuing Effectiveness, etc. This Amendment shall be deemed
to be an amendment to the Credit Agreement, and the Credit Agreement, as amended
hereby, shall remain in full force and effect and is hereby ratified, approved
and confirmed in each and every respect. After the effectiveness of this
Amendment in accordance with its terms, all references to

                                        2

<PAGE>

     IN WITNESS WHEREOF, the parties hereto have caused this Amendment to be
executed by their respective officers thereunto duly authorized as of the day
and year first above written.

                                             THE PMI GROUP, INC.

                                             By: /s/ Rossman
                                                --------------------------------
                                                 Title:  VP, Treasurer
                                                       -------------------------

                                             By: /s/ Brian P. Shea
                                                --------------------------------
                                                 Title: VP, Controller
                                                       -------------------------

                                             BANK OF AMERICA, N.A.

                                             By: /s/ Jim V. Miller
                                                --------------------------------
                                                     Jim V. Miller
                                                --------------------------------
                                                 Title: Managing Director
                                                       -------------------------<PAGE>

                                                                 EXHIBIT 10.2(b)

                               AMENDMENT NO. 2 TO
                               THE PMI GROUP, INC.
                   AMENDED AND RESTATED EQUITY INCENTIVE PLAN

               THE PMI GROUP, INC., having adopted The PMI Group, Inc. Amended
and Restated Equity Incentive Plan (the "Plan") effective as of June 1, 2000 and
having amended the Plan on one subsequent occasion, hereby again amends the Plan
as follows:

         1.    Effective as of June 17, 2002, Section 4.1 is revised in its
entirety to read as follows:

         4.1   Number of Shares. Subject to adjustment as provided in Section
4.3, the total number of Shares available for grant under the Plan is
16,000,000. Notwithstanding the preceding sentence, the aggregate number of
Shares subject to Awards of Restricted Stock granted under the Plan shall not
exceed 270,000 and the aggregate number of Shares subject to Awards of
Performance Units and Performance Shares granted under the Plan shall not exceed
270,000. Shares granted under the Plan may be either authorized but unissued
Shares or treasury Shares.

         2.    Effective as of June 17, 2002, Section 5.1 is revised in its
entirety to read as follows:

         5.1   Grant of Options. Subject to the terms and provisions of the
Plan, Options may be granted to Employees and Consultants at any time and from
time to time as determined by the Committee in its sole discretion. The
Committee, in its sole discretion, shall determine the number of Shares subject
to each Option, provided that during any Fiscal Year, no Participant shall be
granted Options covering more than 600,000 Shares. The Committee may grant
Incentive Stock Options, Nonqualified Stock Options, or a combination thereof.

         3.    Effective as of June 17, 2002, Section 6.1 is revised in its
entirety to read as follows:

         6.1   Grant of Restricted Stock. Subject to the terms and provisions of
the Plan, the Committee, at any time and from time to time, may grant Shares of
Restricted Stock to Employees and Consultants in such amounts as the Committee,
in its sole discretion, shall determine. The Committee, in its sole discretion,
shall determine the number of Shares to be granted to each Participant, provided
that during any Fiscal Year, no Participant shall be granted more than 30,000
Shares of Restricted Stock.

                                        1

<PAGE>

         4.    Effective as of June 17, 2002, Section 7.1 is revised in its
entirety to read as follows:

         7.1   Grant of Performance Units and Shares. Performance Units and
Performance Shares may be granted to Employees and Consultants at any time and
from time to time, as shall be determined by the Committee, in its sole
discretion. The Committee shall have complete discretion in determining the
number of Performance Units and Performance Shares granted to any Participant,
provided that during any Fiscal Year no more than 30,000 Performance Units or
Performance Shares may be granted to any Participant.

         5.    Effective as of May 16, 2002, Section 8.1.1 is revised in its
entirety to read as follows:

               8.1.1  Initial Grants. Each individual who first becomes a
Non-employee Director on or after May 16, 2002, automatically shall receive, as
of the date that he or she first is appointed or elected as a Non-employee
Director (the "Initial Grant Date"), an Option to purchase 2,500 Shares.

         6.    Effective as of May 16, 2002, Section 8.1.2 is revised in its
entirety to read as follows:

               8.1.2  Ongoing Grants. Each Non-employee Director who either has
(a) received an initial grant of an Option to purchase 2,500 Shares (or 6,000
Shares for grants made before May 16, 2002) pursuant to Section 8.1.1, or (b)
received an ongoing grant of an Option to purchase 3,750 Shares pursuant to this
Section 8.1.2 as in effect before May 16, 2002, automatically shall receive, as
of the first business day of each June thereafter (the "Subsequent Grant Date"),
an Option to purchase 5,625 Shares, provided that he or she both (i) is a
Non-employee Director on the Subsequent Grant Date, and (ii) has served as a
Non-employee Director for the entire period since the last Grant Date.

         7.    Effective as of May 16, 2002, Section 8.2.3 is revised in its
entirety to read as follows:

         8.2.3 Exercisability. Each Option granted pursuant to this Section 8
shall become exercisable as to one hundred percent (100%) of the Shares subject
to such Option on the first anniversary of the Grant Date. Notwithstanding the
foregoing, once a Participant ceases to be a Director, his or her Options which
are not then exercisable shall never become exercisable and shall be immediately
forfeited, except to the limited extent provided in Sections 8.2.5 and 8.2.6.

                                        2

<PAGE>

         8.    Effective as of May 16, 2002, Section 9.1 is revised in its
entirety to read as follows:

         9.1   Grant of Restricted Stock. Each Non-employee Director
automatically shall receive (a) as of his or her Initial Grant Date (as defined
in Section 8.1.1), an Award of 56.25 Shares of Restricted Stock for each full
month of service on the Board until the next Grant Date, and (b) as of each
Subsequent Grant Date (as defined in Section 8.1.2), an Award of 675 Shares of
Restricted Stock, provided that he or she is a Non-employee Director on each
such Grant Date. Notwithstanding the foregoing, the number of Shares granted to
any Non-employee Director on any Grant Date shall be reduced if and as necessary
so that the Fair Market Value of the Shares does not exceed $40,000 on the Grant
Date. A Non-employee Director who joins the Board on or before the 15th day of
the month will receive credit for service for the full month.

         IN WITNESS WHEREOF, The PMI Group, Inc., by its duly authorized
officer, has executed this Amendment No. 2 to the Plan on the date indicated
below.

                                         THE PMI GROUP, INC.

Dated: July 1, 2002                      By     /s/ Charles Broom
                                           -------------------------------
                                         Title: Senior Vice President,
                                                Human Resources and Development

                                        3

Source: [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00049-of-00352.parquet"}, [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00049-of-00352.parquet"}]]